Jump to content

Recommended Posts

Posted
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" }
    }
}

 

javaw 2017-03-14 23-44-48-93.jpg

javaw 2017-03-14 23-44-55-07.jpg

javaw 2017-03-14 23-44-57-75.jpg

Posted
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" }
    }
}

 

javaw 2017-03-14 23-44-48-93.jpg

javaw 2017-03-14 23-44-55-07.jpg

javaw 2017-03-14 23-44-57-75.jpg

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).

Posted
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

 

Capture.PNG

Posted
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

 

Capture.PNG

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"}
    }
}

 

  • Like 1
Posted
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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.