
RYxINATORx314
Members-
Posts
23 -
Joined
-
Last visited
Everything posted by RYxINATORx314
-
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?
RYxINATORx314 replied to RYxINATORx314's topic in Modder Support
which is the correct import for list -
[1.7.10] Custom Mob Falls/Gets Stuck in Block
RYxINATORx314 replied to Chasingu's topic in Modder Support
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?
RYxINATORx314 replied to RYxINATORx314's topic in Modder Support
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?
RYxINATORx314 replied to RYxINATORx314's topic in Modder Support
and one more question, how can i add lore to an item? -
[1.7.10] Custom Mob Falls/Gets Stuck in Block
RYxINATORx314 replied to Chasingu's topic in Modder Support
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
RYxINATORx314 replied to Chasingu's topic in Modder Support
have you tried expanding its bounding box? -
[1.7.10] How can i make an item behave like a tool?
RYxINATORx314 replied to RYxINATORx314's topic in Modder Support
thank you much! -
[1.7.10] How can i make an item behave like a tool?
RYxINATORx314 replied to RYxINATORx314's topic in Modder Support
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?
RYxINATORx314 replied to RYxINATORx314's topic in Modder Support
how can i make it remove durability onRightClick? -
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!
-
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); }
-
1.7.10 and i tried that already, i couldn't get it to work, could you show me some sort of example code?
-
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?
-
Try making it so that if you use the scroll button on the mouse it will play the sound, try that. like try and find the class where if you move the mouse 3 button it will change what your using...
-
First of all i want to thank you for coming here to my topic to try and help, I appreciate it! I am not sure at all what is wrong, I have uninstalled and reinstalled eclipse, and done the same for the forge files. I still can seem to figure out how to fix the fact that the forge directories don't show up at all. here is an picture just so you can see exactly what i mean... As you can see none of the imports work and on the left the Forge Directory is not present. Do you know how to fix this problem? Also i just recently got a new laptop. It is running java jre8 and jdk1.8.0_11 Thank you in advance if you help or try to help. Have a great night/day/afternoon