Jump to content

MC1.10+ Troubles with custom ladder (with new model)


winnetrie

Recommended Posts

Hello,

I have created a custom ladder model so it doesn't look like a sheet of paper floating against the wall.

The model works fine and looks fine in game too, np with that.

The problem i have is that i can't get it some json stuff working with the new forge format.

I want to integrate this:

{
    "parent": "item/generated",
    "textures": {
        "layer0": "tem:blocks/acacia_wood_ladder"
    }
}

wich is my item model for the inventory

It has to be integrated into the blockstate json here:

{
    "forge_marker": 1,
    "defaults": {
        "textures": {
            "all": "tem:blocks/acacia_wood_ladder",
            "particle": "tem:blocks/acacia_wood_ladder"
        },
        "model": "tem:laddermodel"
    },
    "variants": {
        "facing=north": { "model": "tem:laddermodel", "y": 0 },
        "facing=east":  { "model": "tem:laddermodel", "y": 90 },
        "facing=south": { "model": "tem:laddermodel", "y": 180 },
        "facing=west":  { "model": "tem:laddermodel", "y": 270 },
        "normal": {
            "model": "tem:laddermodel"
        }
    }
}

I tried a few things but it doesn't work.

Everything is working correctly when i separate the inventory model from the blockstate file.

Ofc i want this to be in 1 file, like i did with all my other blocks too.

Link to comment
Share on other sites

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.