Jump to content

RYxINATORx314

Members
  • Posts

    23
  • Joined

  • Last visited

Converted

  • Gender
    Male
  • Personal Text
    Creator of the Better End Mod (WIP)

RYxINATORx314's Achievements

Tree Puncher

Tree Puncher (2/8)

-1

Reputation

  1. I have followed the tutorial here ,http://www.minecraftforge.net/w/index.php?title=Key_Binding, and i am at the last step, The registration snippet: FMLCommonHandler.instance().bus().register(new KeyInputHandler()); but i am rather new to modding and i have no clue where to put the code, can someone help me? If this tutorial is outdated and doesn't work anymore (as far as i could find, it doesn't clearly state that), can someone show me or give me a link to a tutorial? Thank You in advance for helping me!
  2. which is the correct import for list
  3. try checking out the furnace or oak log classes, hope this helps
  4. try copy and pasting the cow entity into your class and merging the code
  5. Override addInformation like this: /** * allows items to add custom lines of information to the mouseover description */ public void addInformation(ItemStack par1ItemStack, EntityPlayer par2EntityPlayer, List par3List, boolean par4) { if (par1ItemStack.stackTagCompound != null) { String lineOfLore = "Lore You Want To Add"; par3List.add(EnumChatFormatting.DARK_PURPLE + lineOfLore); } } Oh and if you want a different color, you can change EnumChatFormatting.DARK_PURPLE to the color you want. Hope this helps. Thanks, and to multiple lines of lore? also do you have a place where i can find a list of the colors?
  6. and one more question, how can i add lore to an item?
  7. i suggest you post your code for the mob so we can see what you are missing or whats messing it up
  8. have you tried expanding its bounding box?
  9. thank you so much, you really are helpful is it possible to make it subtract durability when attacking mobs and breaking blocks?
  10. how can i make it remove durability onRightClick?
  11. I am wondering how to make an item behave like a tool, like have durability, be repairable via anvil, and cause damage like a sword? How can i accomplish such a task? Any and all help is appreciated, and I am new to modding so if you could show some sort of example code that would be wonderful. Thanks in advance!
  12. i tried messing around with this.onUpdate(); and... public void onUpdate(World world, double x, double y, double z, double velX, double velY, double velZ) { world.spawnParticle("portal", x + 1, y, z + 1, 1.0D, 1.0D, 1.0D); also... public void randomDisplayTick(World world, int x, int y, int z, Random random); if (random.nextInt(10) == 0) { world.spawnParticle("portal", (double)((float)x + random.nextFloat()), (double)((float)y + 1.1F), (double)((float)z + random.nextFloat()), 0.0D, 0.0D, 0.0D); }
  13. 1.7.10 and i tried that already, i couldn't get it to work, could you show me some sort of example code?
  14. I want to thank those who help me in advance, so i posted a few days ago except i worded my post oddly and none understood what i was trying to do, i apologize for that, this is what i was trying to say; I want to make particles spawn when you are holding an item, how can i accomplish this?
×
×
  • Create New...

Important Information

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