Skip to content

Commit

Permalink
add redstone ore reference colors
Browse files Browse the repository at this point in the history
  • Loading branch information
JustinTimeCuber authored and leMaik committed Nov 1, 2023
1 parent 8fb22d5 commit eba5b5f
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions chunky/src/java/se/llbit/chunky/chunk/BlockPalette.java
Original file line number Diff line number Diff line change
Expand Up @@ -351,6 +351,16 @@ public static Map<String, Consumer<Block>> getDefaultMaterialProperties() {
};
materialProperties.put("minecraft:redstone_torch", redstoneTorchConfig);
materialProperties.put("minecraft:redstone_wall_torch", redstoneTorchConfig);
materialProperties.put("minecraft:redstone_ore", block -> {
block.emitterMappingType = EmitterMappingType.REFERENCE_COLORS;
block.addRefColorGammaCorrected(254, 118, 118, 0.2f);
block.addRefColorGammaCorrected(210, 3, 3, 0.2f);
});
materialProperties.put("minecraft:deepslate_redstone_ore", block -> {
block.emitterMappingType = EmitterMappingType.REFERENCE_COLORS;
block.addRefColorGammaCorrected(254, 118, 118, 0.2f);
block.addRefColorGammaCorrected(210, 3, 3, 0.35f);
});
Consumer<Block> torchConfig = block -> {
block.emitterMappingType = EmitterMappingType.REFERENCE_COLORS;
block.addRefColorGammaCorrected(255, 255, 210, 0.35f);
Expand Down

0 comments on commit eba5b5f

Please sign in to comment.