Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

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

 

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

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

  • 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

 

Capture.PNG

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

 

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

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

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.