Fixed a bug that allowed you to see through blocks with the Stalinium Press and Cache
This commit is contained in:
+1
-1
@@ -36,7 +36,7 @@ mod_name=Stalinium
|
||||
# The license of the mod. Review your options at https://choosealicense.com/. All Rights Reserved is the default.
|
||||
mod_license=MIT
|
||||
# The mod version. See https://semver.org/
|
||||
mod_version=0.2.0
|
||||
mod_version=0.2.1
|
||||
# The group ID for the mod. It is only important when publishing as an artifact to a Maven repository.
|
||||
# This should match the base package used for the mod sources.
|
||||
# See https://maven.apache.org/guides/mini/guide-naming-conventions.html
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user