I prefer modding without APIs, please respect that.
Hey there! I've been recreating a mod I made in 1.6.4 but the new Json file system seems to be trolling me, or maybe its the game. As seen in my screenshot, my block isn't rendering right in the GUI.
Now I know what you're in the comments about to type away. Yes, I tried making a Cubik model, and no it doesn't work. For some reason the cubik model doesn't work whatsoever and will not render at all.
I thought that borrowing code from the Dispenser was the issue, the model for the Dispenser uses "block/orientable". However changing the Json model file doesn't seem to change no mater what I change it to. This is including "block/cube" or "block/cube_all".
you need to put a separate model json into the item folder which is then rendered when the block is in the inventory (because in your inventory it's an item, not a block. However, in most cases it's sufficient to just reference the block model (you'll find many examples in the minecraft code itself).
Hm... seems fine.. could you just verify that the item is called redstone director? (press F3 + H to enable advanced tooltips, then hover over the item in your inventory) if the item isn't called redstone_director, you may need to set it's name correctly.
Minecraft Version: 1.10
MCP: 931
Textures & model tested via Resourcepacks.
No Forge, NO API.
I prefer modding without APIs, please respect that.
Hey there! I've been recreating a mod I made in 1.6.4 but the new Json file system seems to be trolling me, or maybe its the game. As seen in my screenshot, my block isn't rendering right in the GUI.
Now I know what you're in the comments about to type away. Yes, I tried making a Cubik model, and no it doesn't work. For some reason the cubik model doesn't work whatsoever and will not render at all.
I thought that borrowing code from the Dispenser was the issue, the model for the Dispenser uses "block/orientable". However changing the Json model file doesn't seem to change no mater what I change it to. This is including "block/cube" or "block/cube_all".
Any ideas?
you need to put a separate model json into the item folder which is then rendered when the block is in the inventory (because in your inventory it's an item, not a block. However, in most cases it's sufficient to just reference the block model (you'll find many examples in the minecraft code itself).
Can you give an example of what you mean?
The dispenser uses two model files, one that's for horizontal and the other for vertical. My block copies those files.
actually it uses 3 (one for the inventory). it's located in the item model folder (assets/minecraft/models/item/dispenser.json)
[Edit]
I copied & edited that file as well and it's still not working.
could you show me all your model files?
Block
Block Vertical
Hm... seems fine.. could you just verify that the item is called redstone director? (press F3 + H to enable advanced tooltips, then hover over the item in your inventory) if the item isn't called redstone_director, you may need to set it's name correctly.
(right click & open in new tab)
The block is also not showing up in the menus after i changed all codes from redstone_directional to redstone_director, not sure why
(item class)