From e94745e39f93902c1b7efe2bd9780d81f8823fbd Mon Sep 17 00:00:00 2001 From: MikiP98 Date: Mon, 26 May 2025 18:32:59 +0200 Subject: [PATCH 1/2] Update roadmap --- README.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 64a4ca30..d0c7d115 100644 --- a/README.md +++ b/README.md @@ -102,7 +102,8 @@ Lighten up your builds with unobtrusive light source - ~~De-separate the particle texture from the block texture in cabinets and others~~ - ~~Make Redstone Jack o'Lanterns to turn off when powered~~ - ~~Make Soul Jack o'Lanterns special in some way (for now particles)~~ - +- ~~Port to newer MC versions:~~ + - ~~1.20.4~~ ### High priority: @@ -150,7 +151,6 @@ Lighten up your builds with unobtrusive light source - Fix nether wood block variants burning - Add Illuminated Cabinet Brightening to the config - Port to newer MC versions: - - 1.20.4 - 1.21.4 From 4d04c2cbf53010a5568ee9b5691ec2b2a7ef7d58 Mon Sep 17 00:00:00 2001 From: MikiP98 Date: Mon, 26 May 2025 19:42:08 +0200 Subject: [PATCH 2/2] Fix game stuck in loading when coloured feature set is disabled --- .../io/github/mikip98/humilityafm/HumilityAFMClient.java | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/src/client/java/io/github/mikip98/humilityafm/HumilityAFMClient.java b/src/client/java/io/github/mikip98/humilityafm/HumilityAFMClient.java index 1957e9c3..d190eb4b 100644 --- a/src/client/java/io/github/mikip98/humilityafm/HumilityAFMClient.java +++ b/src/client/java/io/github/mikip98/humilityafm/HumilityAFMClient.java @@ -51,9 +51,12 @@ public void onInitializeClient() { BlockRenderLayerMap.INSTANCE.putBlock(floorIlluminatedCabinetBlockVariant, renderLayer); } - // LED block variants - BlockEntityRendererFactories.register(BlockEntityRegistry.LIGHT_STRIP_BLOCK_ENTITY, LightStripBlockEntityRenderer::new); - if (ModConfig.enableLightStripBrightening && !ModConfig.shimmerDetected) LightStripBlockEntityRenderer.enableBrightening(); + // Light Strip variants + if (ModConfig.enableColouredFeatureSetBeta) { + BlockEntityRendererFactories.register(BlockEntityRegistry.LIGHT_STRIP_BLOCK_ENTITY, LightStripBlockEntityRenderer::new); + if (ModConfig.enableLightStripBrightening && !ModConfig.shimmerDetected) + LightStripBlockEntityRenderer.enableBrightening(); + } FabricLoader.getInstance().getModContainer(MOD_ID).ifPresent(container -> { ResourceManagerHelper.registerBuiltinResourcePack(getId("3d_cabinet"), container, ResourcePackActivationType.NORMAL);