mirror of
https://github.com/Creators-of-Create/Create.git
synced 2025-03-04 06:44:40 +01:00
Fixed display link bulb
This commit is contained in:
parent
b18e28a86c
commit
524d98871a
1 changed files with 3 additions and 0 deletions
|
@ -212,9 +212,12 @@ public class DisplayLinkBlockEntity extends LinkWithBulbBlockEntity {
|
|||
}
|
||||
|
||||
private static final Vec3 bulbOffset = VecHelper.voxelSpace(11, 7, 5);
|
||||
private static final Vec3 bulbOffsetVertical = VecHelper.voxelSpace(5, 7, 11);
|
||||
|
||||
@Override
|
||||
public Vec3 getBulbOffset(BlockState state) {
|
||||
if (state.getOptionalValue(DisplayLinkBlock.FACING).orElse(Direction.UP).getAxis().isVertical())
|
||||
return bulbOffsetVertical;
|
||||
return bulbOffset;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue