Fixed witch drinking animation. Closes #202

This commit is contained in:
Sollace 2022-06-09 21:40:56 +02:00
parent 6f9fd38cb0
commit 9a97227818

View file

@ -26,7 +26,7 @@ public class WitchRenderer extends PonyRenderer<WitchEntity, WitchPonyModel> {
return new HeldItemFeature<WitchEntity, WitchPonyModel>(this) {
@Override
protected void preItemRender(WitchEntity entity, ItemStack drop, ModelTransformation.Mode transform, Arm hand, MatrixStack stack) {
stack.translate(0, -0.3F, -0.8F);
super.preItemRender(entity, drop, transform, hand, stack);
stack.multiply(Vec3f.POSITIVE_X.getDegreesQuaternion(10));
}
};