Go to the folder where your src folder and gradlew.bat is. Shift right click and open command window. Then run gradlew.bat build. You should find your mod in build/libs.
The Meaning of Life, the Universe, and Everything.
Location:
The End
Join Date:
5/27/2014
Posts:
105
Minecraft:
DoomDwarf_347
Member Details
For some reason without that extra method, it gives an error: "The method setCreativeTab(CreativeTabs) is undefined for the type ItemTheopBroadpick" and the quick fix for it is to add that method.
I looked at your armor potion effect code, it looked pretty cool. I skipped your previous tutorials because my mod is close to being finished. I have two questions. 1-I'm pretty sure on this, but does the method go in your armor code? and 2-How do I make this work with flight so that when you take off the armor, it takes away your flight?
[I just took the Minecraft Noob test! Check out what I scored. Think you can beat me?!
[url=http://www.minecraftnoobtest.com/test.php][/url]
To take the test, check out
[url=http://www.minecraftnoobtest.com/test.php]http://minecraftnoobtest.com/test.php[/url]
I looked at your armor potion effect code, it looked pretty cool. I skipped your previous tutorials because my mod is close to being finished. I have two questions. 1-I'm pretty sure on this, but does the method go in your armor code? and 2-How do I make this work with flight so that when you take off the armor, it takes away your flight?
1 - Yes
2 - I haven't come across a neat way of flight yet, the onArmorTick isn't the place to do that. Just thinking, you could use a couple variables and checks to make it work, but then again, in my mind that seems to work.
[I just took the Minecraft Noob test! Check out what I scored. Think you can beat me?!
[url=http://www.minecraftnoobtest.com/test.php][/url]
To take the test, check out
[url=http://www.minecraftnoobtest.com/test.php]http://minecraftnoobtest.com/test.php[/url]
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumGo to the folder where your src folder and gradlew.bat is. Shift right click and open command window. Then run gradlew.bat build. You should find your mod in build/libs.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumNo, it just doesn't exist in the tutorials...
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumFor some reason without that extra method, it gives an error: "The method setCreativeTab(CreativeTabs) is undefined for the type ItemTheopBroadpick" and the quick fix for it is to add that method.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumProbably because it doesn't extend Item. Try make AOEHandler extend Item.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumStill having this same problem and yes it does.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCan you show your main class?
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumhttp://pastebin.com/KVi8FQaG
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumIf you built the mod using "gradlew.bat build", I don't know. If you had a GitHub repo of some sort, this would have been easier..
Whenever I click on the links, it redirects me to adfoc.us , why?
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumIt's pretty clear why...
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumI looked at your armor potion effect code, it looked pretty cool. I skipped your previous tutorials because my mod is close to being finished. I have two questions. 1-I'm pretty sure on this, but does the method go in your armor code? and 2-How do I make this work with flight so that when you take off the armor, it takes away your flight?
[url ="http://www.minecraftforum.net/topic/1066990-hardcore-ender-expansion"]
[I just took the Minecraft Noob test! Check out what I scored. Think you can beat me?!
[/url]

[url=http://www.minecraftnoobtest.com/test.php]
To take the test, check out
[url=http://www.minecraftnoobtest.com/test.php]http://minecraftnoobtest.com/test.php[/url]
1 - Yes
2 - I haven't come across a neat way of flight yet, the onArmorTick isn't the place to do that. Just thinking, you could use a couple variables and checks to make it work, but then again, in my mind that seems to work.
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumOk thanks!
[url ="http://www.minecraftforum.net/topic/1066990-hardcore-ender-expansion"]
[I just took the Minecraft Noob test! Check out what I scored. Think you can beat me?!
[/url]

[url=http://www.minecraftnoobtest.com/test.php]
To take the test, check out
[url=http://www.minecraftnoobtest.com/test.php]http://minecraftnoobtest.com/test.php[/url]
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumCan't wait for more tutorials.Maybe do one one creating custom villagers with custom trades
Check out my mod:http://minecraft.curseforge.com/projects/medieval-age
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumTry checking this out for now.
Trying to finish #5 for 1.8, running the mod throws a NullPointerException when trying to register my item.
Here's my RegisterHelper.Java:
package com.gmail.enemyviolent.manatech.help; import net.minecraft.block.Block; import net.minecraft.client.Minecraft; import net.minecraft.client.resources.model.ModelResourceLocation; import net.minecraft.item.Item; import net.minecraftforge.fml.common.registry.GameRegistry; public class RegisterHelper { public static void registerBlock(Block block) { GameRegistry.registerBlock(block, block.getUnlocalizedName()); } public static void registerItem(Item item) { GameRegistry.registerItem(item, item.getUnlocalizedName()); } public static void registerItemRenderer(Item item) { Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MODID + ":" + item.getUnlocalizedName(), "inventory")); } public static void registerBlockRenderer(Block block) { Item item = Item.getItemFromBlock(block); Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MODID + ":" + item.getUnlocalizedName(), "inventory")); } }Help?
-
View User Profile
-
View Posts
-
Send Message
Curse Premiumreplace the methods with
public static void registerBlock(Block block)
{
GameRegistry.registerBlock(block, block.getUnlocalizedName().substring(5));
}
public static void registerItem(Item item)
{
GameRegistry.registerItem(item, item.getUnlocalizedName().substring(5));
}
public static void registerItemRenderer(Item item)
{
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MODID + ":" + item.getUnlocalizedName().substring(5), "inventory"));
}
public static void registerBlockRenderer(Block block)
{
Item item = Item.getItemFromBlock(block);
Minecraft.getMinecraft().getRenderItem().getItemModelMesher().register(item, 0, new ModelResourceLocation(Reference.MODID + ":" + item.getUnlocalizedName().substring(5), "inventory"));
}
Still getting the same thing.
Here's my github: https://github.com/benserwa/Manatech
-
View User Profile
-
View Posts
-
Send Message
Curse PremiumLooks like your Forge is the latest version, and not the recommended version. Try switching to that version.
Tutorial on how to do that here: http://www.minecraftforge.net/forum/index.php/topic,14048.0.html
P.S. put your "registerItemRenderer" methods etc in the "registerRenderers" method
This hasn't helped.
I should move #registerItemRenderer and #registerBlockRendererfrom the RegisterHelper class into where? Into a Proxy class?