KingAtomx
Members-
Posts
6 -
Joined
-
Last visited
Everything posted by KingAtomx
-
Where can I learn how to make mods for minecraft with Forge?
KingAtomx replied to Debels's topic in Modder Support
In all fairness Forge doesn't have tutorials on EVERYTHING. If you want to add enchanting to your mod, this is what I do and it works well: Search the documentation. It may take awhile but eventually your will get to know forge better -
Not be rude, by I really think that If you don't have at least a decent understanding in java you shouldn't be doing forge modding. The reason: case 0: if(par1ItemStack.getItem() instanceof Item.blazeRod) does not work is because instanceof is used to check if an Item is of the class type. Item.blazeRod isn't a class type but rather an instance of a class. To get it to work I would do case 0: if(par1ItemStack.getItem().shiftedIndex == Item.blazeRod.shiftedIndex){ //code in here }
-
[PROBLEM] 3 Forge Issues, Any help would be greatly appreciated!
KingAtomx replied to KingAtomx's topic in Modder Support
Which function exactly would I use to register that a block could be affected by and ItemShovel?? Thanks for your help -
Could anyone tell me the difference between a ZIP mod and JAR mod? Thanks KingAtomx
-
Hello, I was just wondering if anyone could help me with 3 forge issues/problem I am facing. - If I had a block, kinda like dirt so that shovels would speed up the block destruction, how would I go about doing this? I have looked in ItemSpade and the array 'blocksEffectiveAgainst' is final. Without editing the base class I see no way of adding my own block to this array without creating a subclass of ItemSpade and creating my own item. If anyone could point me to some Forge method I need to use or other advice that would be great. - Another problem I am having is with my mcmod.info file. After recompiling and reobfuscating my code and zipping it with my textures (which all work fine) I add my correctly formatted, as far as I'm aware, mcmod.info file to the zip. However whenever I install my mod it comes up with the message "No mcmod.info file found, ask your mod maker to add one....". - Finally just something that would really help, I am getting my blocks texture off it's meta data. However whenever the blocks metadata changes, the texture doesn't until I either reload the chunks or Save and Quit. Any help with this would also be appreciated. Thanks again to anyone who can help me with any of these issues. King Atomx