diff --git a/src/main/java/net/zepalesque/redux/Redux.java b/src/main/java/net/zepalesque/redux/Redux.java index fdf7c391..3e7f796e 100644 --- a/src/main/java/net/zepalesque/redux/Redux.java +++ b/src/main/java/net/zepalesque/redux/Redux.java @@ -140,8 +140,8 @@ public void packSetup(AddPackFindersEvent event) { if (event.getPackType() == PackType.CLIENT_RESOURCES) { ASSETS_CONFIG.setup(event); } else if (event.getPackType() == PackType.SERVER_DATA) { - if (ReduxConfig.COMMON.bronze_dungeon_upgrade.get()) { PackUtils.setupPack(event, MODID, "dungeon_upgrades/bronze", "bronze_upgrade", true, true); } - if (ReduxConfig.COMMON.redux_noise.get().get()) { PackUtils.setupPack(event, MODID, "redux_noise", "redux_noise", true, true); } + if (ReduxConfig.COMMON.bronze_dungeon_upgrade.get()) { PackUtils.setupPack(event, MODID, "data/dungeon_upgrades/bronze", "bronze_upgrade", true, true); } + if (ReduxConfig.COMMON.redux_noise.get().get()) { PackUtils.setupPack(event, MODID, "data/redux_noise", "redux_noise", true, true); } } } diff --git a/src/main/java/net/zepalesque/redux/block/ReduxBlocks.java b/src/main/java/net/zepalesque/redux/block/ReduxBlocks.java index 5311d52b..8c10a496 100644 --- a/src/main/java/net/zepalesque/redux/block/ReduxBlocks.java +++ b/src/main/java/net/zepalesque/redux/block/ReduxBlocks.java @@ -58,7 +58,7 @@ public class ReduxBlocks extends ReduxBlockBuilders { () -> new LeafPileBlock(GILDENROOT_LEAVES)); public static DeferredBlock SHADEROOT_LEAVES = register("shaderoot_leaves", - () -> new ShadedLeavesBlock(ReduxParticles.SHADEROOT_LEAF, 5, Properties.ofFullCopy(AetherBlocks.SKYROOT_LEAVES.get()).mapColor(MapColor.TERRACOTTA_PURPLE))); + () -> new ShadedLeavesBlock(ReduxParticles.SHADEROOT_LEAF, 8, Properties.ofFullCopy(AetherBlocks.SKYROOT_LEAVES.get()).mapColor(MapColor.TERRACOTTA_PURPLE))); public static DeferredBlock SHADEROOT_LEAF_PILE = register("shaderoot_leaf_pile", () -> new LeafPileBlock(SHADEROOT_LEAVES)); diff --git a/src/main/java/net/zepalesque/redux/block/natural/leaves/ShadedLeavesBlock.java b/src/main/java/net/zepalesque/redux/block/natural/leaves/ShadedLeavesBlock.java index d7aad88c..ed1cec26 100644 --- a/src/main/java/net/zepalesque/redux/block/natural/leaves/ShadedLeavesBlock.java +++ b/src/main/java/net/zepalesque/redux/block/natural/leaves/ShadedLeavesBlock.java @@ -9,10 +9,12 @@ public class ShadedLeavesBlock extends FallingLeavesBlock { private final int lightBlock; + private final boolean propogateLight; public ShadedLeavesBlock(Supplier particle, int lightBlock, Properties properties) { super(particle, properties); this.lightBlock = lightBlock; + this.propogateLight = lightBlock < 15; } @Override @@ -22,6 +24,6 @@ protected int getLightBlock(BlockState state, BlockGetter level, BlockPos pos) { @Override protected boolean propagatesSkylightDown(BlockState state, BlockGetter level, BlockPos pos) { - return this.lightBlock < 15 && super.propagatesSkylightDown(state, level, pos); + return this.propogateLight && super.propagatesSkylightDown(state, level, pos); } }