Jump to content

coolboy4531

Members
  • Posts

    584
  • Joined

  • Last visited

Everything posted by coolboy4531

  1. Just use the Forge EnumHelper...
  2. You did use some code for EntityTNTPrimed instead of your custom TNT.
  3. Not as of right now. IItemRenderer isn't even that hard, it's the best thing you can find as of now. (i think ;P)
  4. Try looking at HUD mods.
  5. So, you are saying it gives you like a blank book (aka: no metadata added?) You might have to set the metadata to what page you want, or if you did: look at your creative inventory and look at the ID. EDIT: Found it! You never actually allowed subtypes (metadata) to be allowed in your items. In your constructor public bookOfShadows(int id) { super(id); setContainerItem(this); setMaxStackSize(1); } Add: setHasSubtypes(true);
  6. Mojang released a snapshot where villagers instantly grow crops. Maybe you can make the mob check its surrounded for what stage it is in, and then remove the block and change the metadata (stage)
  7. 2 ways: Make your entity float when you register its model. Look at other flying mobs (EntityGhast, EntityBlaze, EntityBat) etc. extends [b]EntityFlying[/b] implements IMob
  8. a) In your block... b) You want to remove your textures?
  9. Now show us GenericBlock.
  10. Strange, let me check up some stuff. That might be my fault EDIT: Okay, it was my fault... Didn't read all of your code. So here's the problem, you converted all your items to ItemStacks? Remove ALL of this from your main class. ItemStack stickStack = new ItemStack(Item.stick); ItemStack flowerShadowStack = new ItemStack(amw.witchcraft.witchcraft.flowerShadow); ItemStack wandPushStack = new ItemStack(amw.witchcraft.witchcraft.wandPush); ItemStack soulFragmentStack = new ItemStack(amw.witchcraft.witchcraft.soulFragment); ItemStack vineStack = new ItemStack(Block.vine); ItemStack flowerSoulStack = new ItemStack(amw.witchcraft.witchcraft.flowerSoul); ItemStack paperStack = new ItemStack(Item.paper); ItemStack leatherStack = new ItemStack(Item.leather); ItemStack blazeRodStack = new ItemStack(Item.blazeRod); ItemStack bookOfShadowsStack = new ItemStack(amw.witchcraft.witchcraft.bookOfShadows); And use the item instead. Example: blazeRod = Item.blazeRod bookOfShadows = witchcraft.bookOfShadows So replace it bookOfShadowsStack to witchcraft.bookOfShadows in the crafting recipe I'll help you with the textures, later. When you actually fix this problem ^^
  11. Show us GenericBlockBase, please. Thank you
  12. You need to conceal the recipe into its own parentheses. The problem is you are trying to call the metadata INSIDE the process of creating the recipe. Character =/= Integer. Here: GameRegistry.addRecipe(new ItemStack(bookOfShadowsStack, 1, 1), new Object[] { "aba", "aca", "ded", 'a', paperStack, 'b', flowerShadowStack, 'c', soulFragmentStack, 'd', leatherStack, 'e', blazeRodStack }); Good luck, my friend
  13. Oh I thought you were using 1.6, my bad. Hmm. Strange, as if its spawning a ghost entity. Try looking at other onBlockActivated methods. In BlockWorkbench, it activates when (world.isRemote), try removing the !
  14. I'm assuming you downloaded the installer? It's a jar file, it uses Java. Update your java version, please.
  15. Have you even set the amount of light level you want it to give off? I see NOTHING relating to light level, expect changing the texture corresponding to the block.
  16. Can I see where you registered your Entity, or anything that relates to that Entity?
  17. Wait wait wait. How do you have this: Blocks.air Shouldn't it be Block.air? Shouldn't you have also gotten an error?
  18. @Override public boolean isOpaqueCube() { return false; } @Override public boolean renderAsNormalBlock() { return false; } EDIT: Draco beat me to it
  19. What do you mean metadata doesn't work? GameRegistry.addRecipe(itemname, stacksize, metadata, //then recipe stuff)
  20. ItemFood - core for controlling those stuff. Saturation is hidden, it doesn't show up in-game; works in the background. Saturation is basically how much let's say FAT the food gives you, the more saturation the longer it takes for you to lose hunger.
  21. I'm really not sure, I'm not into all these packet stuff. Wait for further help >< Thanks.
  22. Sigh. Put it in your item class. You can add as many par3List.add("text here"); as you want, just be aware it creates a new line every .add("")
  23. If I remember, when I created a mob, that I didn't want to despawn I made it: @Override protected void despawnEntity() {}
  24. By lore do you mean text under the item? public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) { par3List.add("text here"); }
×
×
  • Create New...

Important Information

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