Fixed a bug that allowed you to see through blocks with the Stalinium Press and Cache

This commit is contained in:
2025-06-11 11:46:50 +02:00
parent c43ca37688
commit ee3269f504
2 changed files with 3 additions and 3 deletions
@@ -45,11 +45,11 @@ public class ModBlocks {
.sound(SoundType.NETHERITE_BLOCK)));
public static final DeferredBlock<Block> STALINIUM_PRESS = registerBlock("stalinium_press",
() -> new StaliniumPressBlock(BlockBehaviour.Properties.of()));
() -> new StaliniumPressBlock(BlockBehaviour.Properties.of().noOcclusion()));
public static final DeferredBlock<Block> STALINIUM_CACHE = registerBlock(
"stalinium_cache",
() -> new StaliniumCacheBlock(BlockBehaviour.Properties.of()));
() -> new StaliniumCacheBlock(BlockBehaviour.Properties.of().noOcclusion()));
private static <T extends Block> DeferredBlock<T> registerBlock(String name, Supplier<T> block) {
DeferredBlock<T> toReturn = BLOCKS.register(name, block);