Skip to content

Commit

Permalink
Fix pickle UV
Browse files Browse the repository at this point in the history
  • Loading branch information
FoundationGames committed Nov 3, 2021
1 parent 00fee75 commit 72255f0
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,8 @@ private static class CucumberModel extends Model {

public CucumberModel(boolean isPickled) {
super(RenderLayer::getEntitySolid);
this.textureWidth = 32;
this.textureHeight = 32;
this.cucumberBottom = new ModelPart(textureWidth, textureHeight, 0, isPickled ? 9 : 0);
this.cucumberBottom.setPivot(-0.5F, 21.0F, 0.5F);
this.cucumberBottom.roll = 0.1745F;
Expand Down

0 comments on commit 72255f0

Please sign in to comment.