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 committed Sep 21, 2023
1 parent 781f6ac commit ba268a7
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 @@ -349,6 +349,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 ba268a7

Please sign in to comment.