diff --git a/Project_Default.xml b/Project_Default.xml new file mode 100644 index 000000000..7916988f5 --- /dev/null +++ b/Project_Default.xml @@ -0,0 +1,11 @@ + + + + \ No newline at end of file diff --git a/src/main/java/com/github/mixinors/astromine/common/block/entity/HoloBridgeProjectorBlockEntity.java b/src/main/java/com/github/mixinors/astromine/common/block/entity/HoloBridgeProjectorBlockEntity.java index 32119120d..b6eecaa19 100644 --- a/src/main/java/com/github/mixinors/astromine/common/block/entity/HoloBridgeProjectorBlockEntity.java +++ b/src/main/java/com/github/mixinors/astromine/common/block/entity/HoloBridgeProjectorBlockEntity.java @@ -156,6 +156,8 @@ public void buildBridge() { public Map getBridgeVoxelShapes() { var facing = getCachedState().get(HORIZONTAL_FACING); + var component = HoloBridgesComponent.get(world); + var bridgePositions = getBridgePositions(); var bridgeVoxelShapes = new HashMap(); @@ -181,7 +183,7 @@ public Map getBridgeVoxelShapes() { for (var x = bridgePos.x - 0.5F; x < bridgePos.x + 0.5F; x += 1.0F / 16.0F) { var bridgeBlockPos = new BlockPos((int) Math.floor(x), (int) Math.floor(y), (int) Math.floor(z)); - var shape = bridgeVoxelShapes.getOrDefault(bridgeBlockPos, VoxelShapes.empty()); + var shape = bridgeVoxelShapes.getOrDefault(bridgeBlockPos, component.getShape(bridgeBlockPos)); var cX = x % (int) x; var cY = bridgePos.y % (int) bridgePos.y;