March 14, 20178 yr Author 3 minutes ago, Jay Avery said: Can you clarify what you mean by this? (Screenshots perhaps?) I have attached the images, as you can see the block placed is working and then as soon as it's broken it's not working. I'm assuming it's something to do with the json file that is registering the model but again I can't see the issue here. { "variants": { "normal": { "model": "parallelworlds:night_ore" } } }
March 14, 20178 yr 4 minutes ago, Criminox said: I have attached the images, as you can see the block placed is working and then as soon as it's broken it's not working. I'm assuming it's something to do with the json file that is registering the model but again I can't see the issue here. { "variants": { "normal": { "model": "parallelworlds:night_ore" } } } That means there's no Item model for the associated ItemBlock. You can either add an item model in your models/item folder, or add an inventory variant in your blockstates file (probably to the same block model if you want to it to appear as an ordinary block).
March 15, 20178 yr Author 18 minutes ago, Jay Avery said: That means there's no Item model for the associated ItemBlock. You can either add an item model in your models/item folder, or add an inventory variant in your blockstates file (probably to the same block model if you want to it to appear as an ordinary block). Am I on the right lines with this json now? { "variants": { "normal": { "model": "parallelworlds:night_ore" } } "inventory": {"model": "parallelworlds:night_ore"} } I apparently have an error before the inventory section of the json file however when I hover over it there is no error code or anything displayed
March 15, 20178 yr 14 minutes ago, Criminox said: Am I on the right lines with this json now? { "variants": { "normal": { "model": "parallelworlds:night_ore" } } "inventory": {"model": "parallelworlds:night_ore"} } I apparently have an error before the inventory section of the json file however when I hover over it there is no error code or anything displayed Close - the inventory line should be inside the variants brackets, and don't forget a comma between each element: { "variants": { "normal": { "model": "parallelworlds:night_ore" }, "inventory": {"model": "parallelworlds:night_ore"} } }
March 15, 20178 yr Author 14 minutes ago, Jay Avery said: Close - the inventory line should be inside the variants brackets, and don't forget a comma between each element: { "variants": { "normal": { "model": "parallelworlds:night_ore" }, "inventory": {"model": "parallelworlds:night_ore"} } } ahhhh thank you!
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.