diff --git a/common/src/main/java/net/blay09/mods/waystones/client/ModRenderers.java b/common/src/main/java/net/blay09/mods/waystones/client/ModRenderers.java index 9ae525b4..f0ecfea7 100644 --- a/common/src/main/java/net/blay09/mods/waystones/client/ModRenderers.java +++ b/common/src/main/java/net/blay09/mods/waystones/client/ModRenderers.java @@ -28,10 +28,10 @@ public static void initialize(BalmRenderers renderers) { renderers.registerBlockEntityRenderer(ModBlockEntities.sharestone::get, SharestoneRenderer::new); renderers.registerBlockEntityRenderer(ModBlockEntities.portstone::get, PortstoneRenderer::new); - renderers.registerBlockColorHandler((state, view, pos, tintIndex) -> Objects.requireNonNull(((SharestoneBlock) state.getBlock()).getColor()).getTextColor(), () -> ModBlocks.sharestones); - renderers.registerItemColorHandler((stack, tintIndex) -> Objects.requireNonNull(((SharestoneBlock) Block.byItem((stack.getItem()))).getColor()).getTextColor(), () -> ModBlocks.sharestones); - renderers.registerBlockColorHandler((state, view, pos, tintIndex) -> Objects.requireNonNull(((PortstoneBlock) state.getBlock()).getColor()).getTextColor(), () -> ModBlocks.portstones); - renderers.registerItemColorHandler((stack, tintIndex) -> Objects.requireNonNull(((PortstoneBlock) Block.byItem((stack.getItem()))).getColor()).getTextColor(), () -> ModBlocks.portstones); + renderers.registerBlockColorHandler((state, view, pos, tintIndex) -> Objects.requireNonNull(((SharestoneBlock) state.getBlock()).getColor()).getTextColor() | 0xFF000000, () -> ModBlocks.sharestones); + renderers.registerItemColorHandler((stack, tintIndex) -> Objects.requireNonNull(((SharestoneBlock) Block.byItem((stack.getItem()))).getColor()).getTextColor() | 0xFF000000, () -> ModBlocks.sharestones); + renderers.registerBlockColorHandler((state, view, pos, tintIndex) -> Objects.requireNonNull(((PortstoneBlock) state.getBlock()).getColor()).getTextColor() | 0xFF000000, () -> ModBlocks.portstones); + renderers.registerItemColorHandler((stack, tintIndex) -> Objects.requireNonNull(((PortstoneBlock) Block.byItem((stack.getItem()))).getColor()).getTextColor() | 0xFF000000, () -> ModBlocks.portstones); } } diff --git a/gradle.properties b/gradle.properties index c230b0e5..a03e65b0 100644 --- a/gradle.properties +++ b/gradle.properties @@ -33,7 +33,7 @@ pack_format_number = 18 java_version = 21 # Balm -balm_version = 10.1.0-SNAPSHOT +balm_version = 10.4.0-SNAPSHOT balm_version_range = [10.0.0,) # Forge