@@ -1095,19 +1095,19 @@ private static void addBlocks(Texture texture, String... names) {
10951095 addBlock (s + "copper_door" , (name , tag ) -> door (tag , Texture .copperDoorTop , Texture .copperDoorBottom ));
10961096 addBlock (s + "copper_trapdoor" , (name , tag ) -> trapdoor (tag , Texture .copperTrapdoor ));
10971097 addBlock (s + "exposed_chiseled_copper" , Texture .exposedChiseledCopper );
1098- addBlock (s + "exposed_copper_grate" , Texture .exposedCopperGrate );
1098+ addBlock (s + "exposed_copper_grate" , ( name , tag ) -> new SolidNonOpaqueBlock ( name , Texture .exposedCopperGrate ) );
10991099 addBlock (s + "exposed_copper_bulb" , (name , tag ) -> new CopperBulb (name , tag .get ("Properties" ).get ("lit" ).stringValue ().equals ("true" ), tag .get ("Properties" ).get ("powered" ).stringValue ().equals ("true" ),
11001100 Texture .exposedCopperBulbLitPowered , Texture .exposedCopperBulbLit , Texture .exposedCopperBulbPowered , Texture .exposedCopperBulb ));
11011101 addBlock (s + "exposed_copper_door" , (name , tag ) -> door (tag , Texture .exposedCopperDoorTop , Texture .exposedCopperDoorBottom ));
11021102 addBlock (s + "exposed_copper_trapdoor" , (name , tag ) -> trapdoor (tag , Texture .exposedCopperTrapdoor ));
11031103 addBlock (s + "weathered_chiseled_copper" , Texture .weatheredChiseledCopper );
1104- addBlock (s + "weathered_copper_grate" , Texture .weatheredCopperGrate );
1104+ addBlock (s + "weathered_copper_grate" , ( name , tag ) -> new SolidNonOpaqueBlock ( name , Texture .weatheredCopperGrate ) );
11051105 addBlock (s + "weathered_copper_bulb" , (name , tag ) -> new CopperBulb (name , tag .get ("Properties" ).get ("lit" ).stringValue ().equals ("true" ), tag .get ("Properties" ).get ("powered" ).stringValue ().equals ("true" ),
11061106 Texture .weatheredCopperBulbLitPowered , Texture .weatheredCopperBulbLit , Texture .weatheredCopperBulbPowered , Texture .weatheredCopperBulb ));
11071107 addBlock (s + "weathered_copper_door" , (name , tag ) -> door (tag , Texture .weatheredCopperDoorTop , Texture .weatheredCopperDoorBottom ));
11081108 addBlock (s + "weathered_copper_trapdoor" , (name , tag ) -> trapdoor (tag , Texture .weatheredCopperTrapdoor ));
11091109 addBlock (s + "oxidized_chiseled_copper" , Texture .oxidizedChiseledCopper );
1110- addBlock (s + "oxidized_copper_grate" , Texture .oxidizedCopperGrate );
1110+ addBlock (s + "oxidized_copper_grate" , ( name , tag ) -> new SolidNonOpaqueBlock ( name , Texture .oxidizedCopperGrate ) );
11111111 addBlock (s + "oxidized_copper_bulb" , (name , tag ) -> new CopperBulb (name , tag .get ("Properties" ).get ("lit" ).stringValue ().equals ("true" ), tag .get ("Properties" ).get ("powered" ).stringValue ().equals ("true" ),
11121112 Texture .oxidizedCopperBulbLitPowered , Texture .oxidizedCopperBulbLit , Texture .oxidizedCopperBulbPowered , Texture .oxidizedCopperBulb ));
11131113 addBlock (s + "oxidized_copper_door" , (name , tag ) -> door (tag , Texture .oxidizedCopperDoorTop , Texture .oxidizedCopperDoorBottom ));
0 commit comments