diff --git a/src/main/java/com/simibubi/create/content/curiosities/ChromaticCompoundItem.java b/src/main/java/com/simibubi/create/content/curiosities/ChromaticCompoundItem.java index 3213a7964..afe7c9a87 100644 --- a/src/main/java/com/simibubi/create/content/curiosities/ChromaticCompoundItem.java +++ b/src/main/java/com/simibubi/create/content/curiosities/ChromaticCompoundItem.java @@ -135,7 +135,7 @@ public class ChromaticCompoundItem extends Item { BeaconTileEntity bte = (BeaconTileEntity) te; - if (!bte.getBeamSegments().isEmpty()) isOverBeacon = true; + if (bte.getLevels() != 0 && !bte.beamSegments.isEmpty()) isOverBeacon = true; break; } diff --git a/src/main/resources/META-INF/accesstransformer.cfg b/src/main/resources/META-INF/accesstransformer.cfg index 2069e9221..b8f87e003 100644 --- a/src/main/resources/META-INF/accesstransformer.cfg +++ b/src/main/resources/META-INF/accesstransformer.cfg @@ -17,3 +17,6 @@ public net.minecraft.world.chunk.ChunkStatus$ILoadingWorker # PotionBrewing public net.minecraft.potion.PotionBrewing field_185215_c # POTION_ITEMS + +# Beacon +public net.minecraft.tileentity.BeaconTileEntity field_174909_f # beamSegments