Skip to content

Commit

Permalink
Update StatueBatRenderer.java
Browse files Browse the repository at this point in the history
  • Loading branch information
Mrbysco committed Mar 30, 2024
1 parent a1b06a1 commit d928370
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,14 +20,17 @@ public StatueBatRenderer(Context context) {
/**
* Returns the location of an entity's texture.
*/
@Override
public ResourceLocation getTextureLocation(StatueBatEntity statueBat) {
return BAT_TEXTURES;
}

@Override
protected void scale(StatueBatEntity batEntity, PoseStack poseStack, float partialTickTime) {
poseStack.scale(0.35F, 0.35F, 0.35F);
}

@Override
protected void setupRotations(StatueBatEntity batEntity, PoseStack poseStack, float ageInTicks, float rotationYaw, float partialTicks) {
if (batEntity.isResting()) {
poseStack.translate(0.0D, (double) -0.1F, 0.0D);
Expand Down

0 comments on commit d928370

Please sign in to comment.