Jump to content

tattyseal

Forge Modder
  • Posts

    194
  • Joined

  • Last visited

Everything posted by tattyseal

  1. Where is your GUI class file? How are we meant to help you with no class?
  2. Updated last post, I forgot to actually change the code, sorry!
  3. You need to have @EventHandler above the preInit and Init like:
  4. You can't compare strings like that. WHAT? I got it working CODE:
  5. Code But the recipe does not work ingame
  6. Hello. So basically I want to be able to craft my block with any blocks, then use a CraftingEvent to check if it is valid for my block. So I want it to be like: BDB B being the block D being my block But I cannot figure out how to make it B to be any block, does anyone know how to do this?
  7. You did not install the mod on your server
  8. You are adding a recipe before Registering your item 1) ALWAYS POST CODE
  9. I want my whole armor to be colored, not like Leather with the stripe
  10. @Override public Object getClientGuiElement(int id, EntityPlayer player, World world, int x, int y, int z){ TileEntity te = world.getTileEntity(x, y, z); if(te instanceof TileEntityBlockCrafter){ return new ContainerBlockCrafter(player.inventory, (TileEntityBlockCrafter) te); } return null; } You are returning your Container on the client, return your Gui class not the Container
  11. ZaetRegistry.registerColoredArmor("zaet", "dyeArmor", ArmorMaterial.CLOTH, tabZaetMech); public static void registerColoredArmor(String folder, String name, ArmorMaterial material, CreativeTabs creativeTabs) { for(int i = 0; i < 16; i++) { for(int x = 0; x < 4; x++) { Item armor = new ColoredArmor(i, folder, name, material, 0, x, creativeTabs); GameRegistry.registerItem(armor, armor.getUnlocalizedName()); } }
  12. Updated the OP with an image and updated code
  13. That only affects the Item icon, not the armor texture. I haven't done the Item Textures.
  14. I do not see anything different either... Odd.
  15. *BUMP* I would not bump unless very desperate. Sorry.
  16. I would say save it to NBT to be safe @Override public void writeToNBT(NBTTagCompound tag) { tag.setInteger("rot", rot); } @Override public void readFromNBT(NBTTagCompound tag) { rot = tag.getInteger("rot"); }
  17. Hello, I am trying to make colored armor but I cant get it working, even though it renders the color in the item, it does not when you wear it. Does anyone have any ideas?
  18. In your leaf constructor where you put super(id, material); put setStepSound(Block.soundTypeLeaves); it will be similar and in your block class put @Override public boolean isOpaqueCube() { return false; }
  19. Thank. I don't know why I did not think of that . if((new Random()).nextInt(2500) == 0) { tattyseal.setStupid(true); }
  20. So I wanted to make a new tool (not like a new Pickaxe) but, as an example a Paxel. I looked in the Pickaxe class and it seemed like it only had things like Blocks.wood and not materials and I cannot get my head around it. Does anyone know how?
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.