mirror of
https://github.com/TeamMidnightDust/Decorative.git
synced 2025-12-15 12:35:10 +01:00
fix: sliding door model clipping with glass panes
This commit is contained in:
@@ -31,7 +31,7 @@ public class ItemDisplaySlidingDoorModel extends BlockModel {
|
||||
public ItemDisplaySlidingDoorModel(BlockState state) {
|
||||
this.main = ItemDisplayElementUtil.createSimple(getModel(state));
|
||||
this.main.setDisplaySize(1, 1);
|
||||
this.main.setScale(new Vector3f(2));
|
||||
this.main.setScale(new Vector3f(1.99f));
|
||||
this.main.setRightRotation(RotationAxis.POSITIVE_Y.rotationDegrees(getRotation(state)));
|
||||
this.main.setViewRange(DecorativeConfig.viewDistance / 100f);
|
||||
handleSliding(state);
|
||||
|
||||
Reference in New Issue
Block a user