Posted June 22, 20205 yr Howdy folks. I'm trying to change the size of a custom entity's hitbox based on variables that can fluctuate throughout gameplay and may be different for each instance of the entity. This entity uses WolfModel and is scaled up to be larger or smaller using MatrixStack#scale(). Confusingly, MatrixStack#scale() seems to visually change the how large the box is (when viewing with F3+B) but not when interacting with it. (Punching, colliding, et cetera) What is the best way to accomplish this?
June 22, 20205 yr Howdy MatrixStack is for rendering only. Check out EntitySize and EntityType, and SlimeEntity::getSize -TGG
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.