Jump to content

[1.8.9] rotation submodel in TESR or other solutions?


juanitodelavega

Recommended Posts

i have a this model.json :

{
    "forge_marker": 1,
    "defaults": {
        "textures":{ 
            "#t-base": "mymodid:blocks/t-base",
            "#t-staff": "mymodid:blocks/t-staff"
        }
    },
    "variants": {
        "all_facing=up": [{
            "model": "mymodid:t-base.obj",
            "submodel": {
                "staff": {
                    "forge_marker": 1,
                    "model": "mymodid:t-staff.obj" 
                }
            },
            "x":270
        }],
        ....
    }
}

 

This model is attach to a block with a tile entity. I want the submodel staff to rotate depending on a value stored in my tile entity so i use a TESR, but i dont know how to select only the quads from the staff submodel or maybe there is another way than using TESR to do that?

Link to comment
Share on other sites

Do you have any link or any ideas on how the formating of the parameters section works?

 

"parameters": {
    "world_to_cycle": [ "/", "#cycle_length" ],
    "round_cycle": [ "compose", [ "R", "#cycle_length" ] , "#click_time" ],
    "end_cycle": [ "-", "#round_cycle" ]
  }

 

im guessing that "round_cycle" is a cycle where it apply a rotation of "#cycle_length" during "#click_time" on the model, iam maybe totaly wrong :) that is why i need a documentation.

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.