Jump to content

Change Model Rotation depending on the way the entity is looking


Recommended Posts

Posted
1 minute ago, Discult said:

Hello i am wondering where in the code the model is rotated depending where the entity is looking.

In the renderer class. IE where the Model fields are stored.

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
2 minutes ago, Discult said:

Can you give a string of text of what it might look like pls

 

this.model.setRotationAndAngles(...)

Dont quote me on the method name lol

VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING

I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect.

Forge and vanilla BlockState generator.

Posted
2 minutes ago, Animefan8888 said:

this.model.setRotationAndAngles(...)

Dont quote me on the method name lol

hmm i have that but it doesn't rotate my model when the entity box rotates?

 

Posted
Just now, Animefan8888 said:

What does entity box mean? Are the values changing on the client?

I mean the blue line when Ctrl-B is hit when it moves the model moves but for my model it doesn't so i am wondering if i am missing the code for it so i am asking what is the string to make it rotate.

maxresdefault.jpg

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.