mirror of
https://github.com/MineLittlePony/MineLittlePony.git
synced 2025-02-13 08:14:23 +01:00
Fixed positioning of pumpkings on ponies' heads
This commit is contained in:
parent
2eb19e5451
commit
ac80091587
1 changed files with 1 additions and 1 deletions
|
@ -66,7 +66,7 @@ public class SkullFeature<T extends LivingEntity, M extends EntityModel<T> & IPo
|
|||
private void renderBlock(MatrixStack stack, VertexConsumerProvider renderContext, T entity, ItemStack itemstack, int lightUv) {
|
||||
stack.multiply(Vector3f.POSITIVE_Y.getDegreesQuaternion(180));
|
||||
stack.scale(0.625F, -0.625F, -0.625F);
|
||||
stack.translate(0, 0.4F, -0.21F);
|
||||
stack.translate(0, 0.6F, -0.21F);
|
||||
|
||||
MinecraftClient.getInstance().getHeldItemRenderer().renderItem(entity, itemstack, ModelTransformation.Mode.HEAD, false, stack, renderContext, lightUv);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue