Move flammable reg out of init
This commit is contained in:
parent
fc5097e354
commit
259eaaa1c0
1 changed files with 5 additions and 2 deletions
|
@ -436,7 +436,7 @@ public class NSE_Blocks extends NSE_BaseRegistration {
|
||||||
|
|
||||||
registerBlock("metal_plating", () -> METAL_PLATING, NSE_BUILDING_TAB);
|
registerBlock("metal_plating", () -> METAL_PLATING, NSE_BUILDING_TAB);
|
||||||
registerBlock("crate", () -> CRATE, NSE_BUILDING_TAB);
|
registerBlock("crate", () -> CRATE, NSE_BUILDING_TAB);
|
||||||
registerBlock("concrete_wall", () -> CONCRETE_WALL, NSE_BUILDING_TAB); // TODO: Broken
|
registerBlock("concrete_wall", () -> CONCRETE_WALL, NSE_BUILDING_TAB); // FIXME: 29.08.2023 This wall's top texture is a bit broken
|
||||||
|
|
||||||
registerBlock("green_wallpaper", () -> GREEN_WALLPAPER, NSE_BUILDING_TAB);
|
registerBlock("green_wallpaper", () -> GREEN_WALLPAPER, NSE_BUILDING_TAB);
|
||||||
registerBlock("brown_wallpaper", () -> BROWN_WALLPAPER, NSE_BUILDING_TAB);
|
registerBlock("brown_wallpaper", () -> BROWN_WALLPAPER, NSE_BUILDING_TAB);
|
||||||
|
@ -448,7 +448,10 @@ public class NSE_Blocks extends NSE_BaseRegistration {
|
||||||
registerBlock("purple_goo", () -> PURPLE_GOO, NSE_BUILDING_TAB);
|
registerBlock("purple_goo", () -> PURPLE_GOO, NSE_BUILDING_TAB);
|
||||||
registerBlock("handrail", () -> HANDRAIL, NSE_BUILDING_TAB);
|
registerBlock("handrail", () -> HANDRAIL, NSE_BUILDING_TAB);
|
||||||
|
|
||||||
// Flammable blocks!
|
flammableInit();
|
||||||
|
}
|
||||||
|
|
||||||
|
public static void flammableInit() {
|
||||||
FlammableBlockRegistry flammableBlockRegistry = FlammableBlockRegistry.getDefaultInstance();
|
FlammableBlockRegistry flammableBlockRegistry = FlammableBlockRegistry.getDefaultInstance();
|
||||||
flammableBlockRegistry.add(HERRINGBONE_ACACIA_PLANKS, 20, 5);
|
flammableBlockRegistry.add(HERRINGBONE_ACACIA_PLANKS, 20, 5);
|
||||||
flammableBlockRegistry.add(CROSS_ACACIA_PLANKS, 20, 5);
|
flammableBlockRegistry.add(CROSS_ACACIA_PLANKS, 20, 5);
|
||||||
|
|
Loading…
Reference in a new issue