-
Posts
6157 -
Joined
-
Last visited
-
Days Won
59
Everything posted by Animefan8888
-
Instead of "layer0" use "all"
-
Do you not have a model for your ItemBlock?
-
Post your json files.
-
Don't use Reference use ModBlocks. Your reference contains a enum, not a Block which is what is causing this error. I suggest you learn Java before you try to make a mod, seeing as how Java can be quite complicated if you have never programmed before.
-
Does ModBlocks contain a variable?
-
[1.10.2] Error loading Item texture/model
Animefan8888 replied to reesercollins's topic in Modder Support
Change "0" to "layer0" -
[1.10.2] Error loading Item texture/model
Animefan8888 replied to reesercollins's topic in Modder Support
I don't see a texture for them in your first post, that is why it is purple and black. Edit: Never mind your package explorer is different from mine I see it. -
That is just a enum not a Block.
-
[1.10.2] Error loading Item texture/model
Animefan8888 replied to reesercollins's topic in Modder Support
Show your json files. -
-
Where is your blockclear_glass? Is it in the same class? Or in a different one, if so you need to reference the class that it is in. And did you import ModelResourceLocation?
-
All Items
-
Never mind you changed it already. The only thing you need to change is importing all of the required classes and changing 'block' to an actual Block.
-
Look back at what you had and then look at what you have now.
-
It is used basically the same way that the model mesher is.
-
Draco said use ModelLoader.setCustomModelResourceLocation(), Which takes in an Item, int, and a ModelResourceLocation as parameters. Which are the Item you want the ModelResourceLocation bound to the metadata of the Item and the ModelResourceLocation to be bound.
-
How did you compile it?
-
No problem.
-
[1.12] Attaching Capabilities to an Item
Animefan8888 replied to TheXFactor117's topic in Modder Support
Try using Phase.END -
Call ModBloks.registerRenders in your preInit at least. You could also use the ModelRegistryEvent and RegistryEvent.
-
Your ClientProxy. And where do you register your block.
-
Where does that get called from?
-
[1.12] Attaching Capabilities to an Item
Animefan8888 replied to TheXFactor117's topic in Modder Support
Did you register the Handler twice, are you checking the Side and the Phase? Post your code. -
[1.12] [Solved] Lang file not working with Blocks/ItemBlocks
Animefan8888 replied to Nayrisian's topic in Modder Support
No problem. -
[1.12] [Solved] Lang file not working with Blocks/ItemBlocks
Animefan8888 replied to Nayrisian's topic in Modder Support
tile:copper_ore != tile.copper_ore