Fixed door animation being seen through the door.
This commit is contained in:
parent
e2d0d97328
commit
5344e36e88
1 changed files with 2 additions and 2 deletions
|
@ -60,9 +60,9 @@ public final class DimensionalPortalRenderer {
|
|||
)
|
||||
.build(false)
|
||||
);
|
||||
ModelPart.Cuboid small = new ModelPart.Cuboid(0, 0, 0, 0, 0, 16, 16, 0.2F, 0, 0, 0, false, 1024, 1024);
|
||||
ModelPart.Cuboid small = new ModelPart.Cuboid(0, 0, 0.2f, 0.2f, -0.1f, 15.8f, 15.8f, 0.01F, 0, 0, 0, false, 1024, 1024);
|
||||
MODEL = new ModelPart(Collections.singletonList(small), Collections.emptyMap());
|
||||
ModelPart.Cuboid big = new ModelPart.Cuboid(0, 0, 0, 0, 0, 16, 32, 0.2F, 0, 0, 0, false, 1024, 1024);
|
||||
ModelPart.Cuboid big = new ModelPart.Cuboid(0, 0, 0.2f, 0.2f, -0.1f, 15.8f, 31.8f, 0.01F, 0, 0, 0, false, 1024, 1024);
|
||||
TALL_MODEL = new ModelPart(Collections.singletonList(big), Collections.emptyMap());
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue