Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

1.15.1 How do i add cubes to entity models now?


Drachenbauer
 Share

Recommended Posts

Hello in 1.14.1 i used this to ad cubes to a body-part (here named as bone) of an entity-model:

bone.cubeList.add(new ModelBox(bone, 0, 0, -4.0F, -4.0F, -4.0F, 8, 8, 8, 0.0F, false));

It´s because blockbench made it this way and it gives me the biggest number of property-vanues (2x texture-position, 3x cube-position, 3x cube-size and two more) to set for this cube.

But in 1.15.1 "cubeList" is not visible and it does not know "ModelBox" any more.

How do i add cubes with this number of values now?

 

Edit:

i found this:

bone.func_217178_a("body", -4.0F, -4.0F, -4.0F, 8, 8, 8, 0.0F, 0, 0);

It provides almost all of theese values.

But i miss the one, that is "false" in my old one (the last value in that line).

i think, it´s about mirrored texturing.

So how do i now tell it to mirror a texture for the other leg or something like that?

Edited by Drachenbauer
Link to comment
Share on other sites

  • 3 months later...

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

 Share



×
×
  • Create New...

Important Information

By using this site, you agree to our Privacy Policy.