From eb7963631ff7a6181e116b7c8462fd3a74590eda Mon Sep 17 00:00:00 2001 From: Flanks255 <32142731+Flanks255@users.noreply.github.com> Date: Sat, 1 Jun 2024 12:55:29 -0500 Subject: [PATCH] Fiddling with laser relay rendering. --- .../mod/blocks/render/ReconstructorRenderer.java | 10 ---------- .../mod/blocks/render/RenderLaserRelay.java | 11 +++++++++++ 2 files changed, 11 insertions(+), 10 deletions(-) diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/ReconstructorRenderer.java b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/ReconstructorRenderer.java index 3793949f2..febd59636 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/ReconstructorRenderer.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/ReconstructorRenderer.java @@ -63,14 +63,4 @@ public class ReconstructorRenderer implements BlockEntityRenderer 0.0f; - } - - @Override - public AABB getRenderBoundingBox(TileEntityAtomicReconstructor blockEntity) { - return BlockEntityRenderer.super.getRenderBoundingBox(blockEntity); - } } diff --git a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/RenderLaserRelay.java b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/RenderLaserRelay.java index 6b740dfcf..63ed3e281 100644 --- a/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/RenderLaserRelay.java +++ b/src/main/java/de/ellpeck/actuallyadditions/mod/blocks/render/RenderLaserRelay.java @@ -35,6 +35,7 @@ import net.minecraft.world.level.block.Rotation; import net.minecraft.world.level.block.entity.BlockEntity; import net.minecraft.world.level.block.state.BlockState; import net.minecraft.world.level.block.state.properties.BlockStateProperties; +import net.minecraft.world.phys.AABB; import net.minecraft.world.phys.Vec3; public class RenderLaserRelay implements BlockEntityRenderer { @@ -125,4 +126,14 @@ public class RenderLaserRelay implements BlockEntityRenderer