-
[1.7.10] Keybind Help
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!
-
[1.7.10] How can i make an item behave like a tool?
which is the correct import for list
-
[1.7.10] How to have the front texture of a block face player when placed
try checking out the furnace or oak log classes, hope this helps
-
[1.7.10] Custom Mob Falls/Gets Stuck in Block
try copy and pasting the cow entity into your class and merging the code
-
[1.7.10] How can i make an item behave like a tool?
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?
-
[1.7.10] How can i make an item behave like a tool?
and one more question, how can i add lore to an item?
-
[1.7.10] Custom Mob Falls/Gets Stuck in Block
i suggest you post your code for the mob so we can see what you are missing or whats messing it up
-
[1.7.10] Custom Mob Falls/Gets Stuck in Block
have you tried expanding its bounding box?
-
[1.7.10] How can i make an item behave like a tool?
thank you much!
-
[1.7.10] How can i make an item behave like a tool?
thank you so much, you really are helpful is it possible to make it subtract durability when attacking mobs and breaking blocks?
-
[1.7.10] How can i make an item behave like a tool?
how can i make it remove durability onRightClick?
-
[1.7.10] How can i make an item behave like a tool?
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!
-
Particle Spawn when Holding item?
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); }
-
Particle Spawn when Holding item?
1.7.10 and i tried that already, i couldn't get it to work, could you show me some sort of example code?
-
Particle Spawn when Holding item?
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?
IPS spam blocked by CleanTalk.