@@ -520,13 +520,26 @@ public static Map<String, Consumer<Block>> getDefaultMaterialProperties() {
520520 materialProperties .put (s + "weathered_copper_grate" , weatheredCopperConfig );
521521 materialProperties .put (s + "weathered_copper_door" , weatheredCopperConfig );
522522 materialProperties .put (s + "weathered_copper_trapdoor" , weatheredCopperConfig );
523+
524+ materialProperties .put (s + "lightning_rod" , block -> {
525+ // apply copper attributes only to non-powered lightning rods
526+ if (block instanceof LightningRod && !((LightningRod ) block ).isPowered ()) {
527+ copperConfig .accept (block );
528+ }
529+ });
530+ materialProperties .put (s + "exposed_lightning_rod" , block -> {
531+ // apply copper attributes only to non-powered lightning rods
532+ if (block instanceof LightningRod && !((LightningRod ) block ).isPowered ()) {
533+ exposedCopperConfig .accept (block );
534+ }
535+ });
536+ materialProperties .put (s + "weathered_lightning_rod" , block -> {
537+ // apply copper attributes only to non-powered lightning rods
538+ if (block instanceof LightningRod && !((LightningRod ) block ).isPowered ()) {
539+ weatheredCopperConfig .accept (block );
540+ }
541+ });
523542 }
524- materialProperties .put ("minecraft:lightning_rod" , block -> {
525- // apply copper attributes only to non-powered lightning rods
526- if (block instanceof LightningRod && !((LightningRod ) block ).isPowered ()) {
527- copperConfig .accept (block );
528- }
529- });
530543 materialProperties .put ("minecraft:small_amethyst_bud" , block -> {
531544 block .emittance = 1.0f / 15f ;
532545 });
0 commit comments