Jump to content

Recommended Posts

Posted

I made an entity (mob) but I want to scale it down to about half the original size. How would I approach this?

I'm using GeckoLib for animations, in case that's relevant. 

Posted
31 minutes ago, Myxtro said:

I made an entity (mob) but I want to scale it down to about half the original size. How would I approach this?

 

If you want to change the hitbox size of the entity, you can change the arguments to the sized() method when creating the entity type.

If you want to scale the model of the entity, you could use the scale() method on the matrix stack in the entity renderer (although I have never used GeckoLib so I don't know if that changes anything in regards to the rendering).

Posted (edited)
On 10/7/2021 at 11:35 PM, vemerion said:

If you want to scale the model of the entity, you could use the scale() method on the matrix stack in the entity renderer (although I have never used GeckoLib so I don't know if that changes anything in regards to the rendering).

How and where do I implement that? I've never used a matrix stack before.

EDIT: nevermind I figured it out.

Edited by Myxtro

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.