Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

Posted

Hello

 

Theese are two modelboxes in 1.14.3 style:

        bone.cubeList.add(new ModelBox(bone, 0, 2, -3.0F, -10.0F, 0.0F, 2, 6, 0, 0.0F, false));
        bone.cubeList.add(new ModelBox(bone, 0, 2, 1.0F, -10.0F, 0.0F, 2, 6, 0, 0.0F, true));

the boolean at the end means, that the seccond one has the texture mirrored.

How do i set this property now?

 

At the iron golem i found this:

this.ironGolemRightLeg.mirror = true;

But this mirrors the textures of the whoole body-part.

I only want to mirror the texture of one cube.

I don´t want to put it into a new ModelRenderer, only to mirror it´s texture.

Edited by Drachenbauer

  • Author

I still don´t know how to mirror the texture from just one model-cube now without creating a new bodypart (ModelRenderer) for it...

  • 3 weeks later...
  • Author

Now i try the following:

        bone = new ModelRenderer(this);
        bone.setRotationPoint(0.0F, 20.0F, 0.0F);
        bone.func_217178_a("body", -4.0F, -4.0F, -4.0F, 8, 8, 8, 0.0F, 0, 0);
        bone.func_217178_a("beak", -1.0F, 0.0F, -7.0F, 2, 2, 3, 0.0F, 24, 0);
        bone.func_217178_a("right_head_feather", -3.0F, -10.0F, 0.0F, 2, 6, 0, 0.0F, 0, 2);
        bone.mirror=true;
        bone.func_217178_a("left_head_feather", 1.0F, -10.0F, 0.0F, 2, 6, 0, 0.0F, 0, 2);
        bone.mirror=false;
        bone.func_217178_a("tail_feather_1", 0.0F, 1.0F, 4.0F, 0, 1, 4, 0.0F, 24, 1);

Does this mirror only the textures of the model-box between the two mitrror-lines?

Edited by Drachenbauer

@Drachenbauer Why you not try Tabula and then export you texture? You can importing your Model into Tabula, then set the Mirror GUI on and play a bit with it. I am sorry if you have need to wait so long for a answer.

New in Modding? == Still learning!

Ok, you need Minecraft 1.12.2 to use it, the mod jar and his dependice, iChun. 

New in Modding? == Still learning!

If this dont help you then you can find tutorials on it. Hope i helped you ?.

New in Modding? == Still learning!

  • Author

my earliest minecraft is 1.13.2

and i thaught, it´s a lonestanding program.

 

i didn´t find any totorials for doing this in 1.15.1 so far

Edited by Drachenbauer

You can see tutorials for the 1.12.2 then you want modify your texture. Import your mob into Tabula, import his texture, use the mirrored GUI and export the new Model as Java vlass with the new Texture. Then in your IDE change the code for make it compatible with the 1.15.1 and finaly enjoy.

New in Modding? == Still learning!

  • 2 weeks later...
On 2/26/2020 at 9:47 PM, Drachenbauer said:

I tested, what i made in the code and it looks fine.

Then why you have ask?

New in Modding? == Still learning!

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

Important Information

By using this site, you agree to our Terms of Use.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.