Jump to content

[1.12] Metadata Blockstates Not Working Properly


DragonFerocity

Recommended Posts

You are setting the variant to "acacia", but your blockstates file doesn't have such a variant - it has a "type" variant with possible values of "acacia", "oak", etc. You either need to have "acacia" as a top-level variant in the blockstates file, or set the variant to "type=acacia".

Link to comment
Share on other sites

Okay, so I should be setting the variant to type on all of them?

 

I found that the following also works if I set their resource location path and then create a separate item model file for each.

register(ibCampfire, 0, "expanded:oak_campfire");
    register(ibLitCampfire, 0, "expanded:oak_campfire");
    register(ibCampfire, 1, "expanded:spruce_campfire");
    register(ibLitCampfire, 1, "expanded:spruce_campfire");
    register(ibCampfire, 2, "expanded:birch_campfire");
    register(ibLitCampfire, 2, "expanded:birch_campfire");
    register(ibCampfire, 3, "expanded:jungle_campfire");
    register(ibLitCampfire, 3, "expanded:jungle_campfire");
    register(ibCampfire, 4, "expanded:acacia_campfire");
    register(ibLitCampfire, 4, "expanded:acacia_campfire");
    register(ibCampfire, 5, "expanded:dark_oak_campfire");
    register(ibLitCampfire, 5, "expanded:dark_oak_campfire");

 

Edited by DragonFerocity
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.