Jump to content

Recommended Posts

Posted

Hi,

 

I've got some problems with the block rendering. It renders all find in the inventory, but when I place the block

I'm getting only the missing texture textures on the block.

 

Thats what the start-up log shows me:

[FML]: Model definition for location minecolonies:blockHutTownhall#normal not found

 

Here are my json files:

blockstates

{
    "variants": {
        "facing=up": { "model": "minecolonies:blockHutTownhall" },
        "facing=east": { "model": "minecolonies:blockHutTownhall", "y": 0},
        "facing=south": { "model": "minecolonies:blockHutTownhall", "y": 90 },
        "facing=west": { "model": "minecolonies:blockHutTownhall", "y": 180 },
        "facing=north": { "model": "minecolonies:blockHutTownhall", "y": 270 }
    }
}

 

models.block

{
    "parent": "block/cube_all",
    "textures": {
        "particle": "blocks/planks_oak",
        "down": "blocks/planks_oak",
        "up": "minecolonies:blocks/blockHutTownhallTop",
        "north": "minecolonies:blocks/sideChest",
        "east": "minecolonies:blocks/sideChest",
        "south": "minecolonies:blocks/sideChest",
        "west": "minecolonies:blocks/sideChest"
    }
}

 

models.item

{
    "parent":"minecolonies:block/blockHutTownhall",
    "display": {
        "thirdperson": {
            "rotation": [ 10, -45, 170 ],
            "translation": [ 0, 1.5, -2.75 ],
            "scale": [ 0.375, 0.375, 0.375 ]
        }
    }
}

 

I hope someone can help me with this. ;)

Bektor

Developer of Primeval Forest.

Posted

Minecraft only looks for the

normal

variant when a

Block

has no properties (or all its properties are ignored by its

IStateMapper

). Have you overridden

Block#createBlockState

?

Please don't PM me to ask for help. Asking your question in a public thread preserves it for people who are having the same problem in the future.

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.