@@ -53,14 +53,14 @@ public static void init() {
5353 FlammableBlockRegistry .getDefaultInstance ().add (BURNT_PAPER_BLOCK , 5 , 60 );
5454
5555 // Thatch
56- FlammableBlockRegistry .getDefaultInstance ().add (THATCH .block , 60 , 20 );
57- FlammableBlockRegistry .getDefaultInstance ().add (THATCH .slab , 60 , 20 );
58- FlammableBlockRegistry .getDefaultInstance ().add (THATCH .stairs , 60 , 20 );
56+ FlammableBlockRegistry .getDefaultInstance ().add (THATCH .block () , 60 , 20 );
57+ FlammableBlockRegistry .getDefaultInstance ().add (THATCH .slab () , 60 , 20 );
58+ FlammableBlockRegistry .getDefaultInstance ().add (THATCH .stairs () , 60 , 20 );
5959
6060 // Timber frames
6161 for (TimberFrameBundle timberFrameBundle : TimberFrameBundle .values ()) {
62- for (Block block : timberFrameBundle .all ) {
63- if (timberFrameBundle .isBurnable ()) {
62+ for (Block block : timberFrameBundle .all () ) {
63+ if (timberFrameBundle .burnable ()) {
6464 FlammableBlockRegistry .getDefaultInstance ().add (block , 5 , 20 );
6565 FuelRegistryEvents .BUILD .register ((builder , context ) -> builder .add (block , 300 ));
6666 }
@@ -69,27 +69,27 @@ public static void init() {
6969
7070 // Patterned wools
7171 for (WoolBundle woolBundle : WoolBundle .values ()) {
72- FlammableBlockRegistry .getDefaultInstance ().add (woolBundle .block , 30 , 60 );
73- FlammableBlockRegistry .getDefaultInstance ().add (woolBundle .stairs , 30 , 60 );
74- FlammableBlockRegistry .getDefaultInstance ().add (woolBundle .slab , 30 , 60 );
75- FlammableBlockRegistry .getDefaultInstance ().add (woolBundle .carpet , 60 , 20 );
72+ FlammableBlockRegistry .getDefaultInstance ().add (woolBundle .block () , 30 , 60 );
73+ FlammableBlockRegistry .getDefaultInstance ().add (woolBundle .stairs () , 30 , 60 );
74+ FlammableBlockRegistry .getDefaultInstance ().add (woolBundle .slab () , 30 , 60 );
75+ FlammableBlockRegistry .getDefaultInstance ().add (woolBundle .carpet () , 60 , 20 );
7676 FuelRegistryEvents .BUILD .register ((builder , context ) -> {
77- builder .add (woolBundle .stairs , 100 );
78- builder .add (woolBundle .slab , 50 );
77+ builder .add (woolBundle .stairs () , 100 );
78+ builder .add (woolBundle .slab () , 50 );
7979 });
8080 }
8181
8282 // Wood set
8383 for (WoodBundle woodBundle : WoodBundle .values ()) {
84- if (woodBundle .isBurnable ()) {
85- FlammableBlockRegistry .getDefaultInstance ().add (woodBundle .planks , 5 , 20 );
86- FlammableBlockRegistry .getDefaultInstance ().add (woodBundle .stairs , 5 , 20 );
87- FlammableBlockRegistry .getDefaultInstance ().add (woodBundle .slab , 5 , 20 );
88- FlammableBlockRegistry .getDefaultInstance ().add (woodBundle .fence , 5 , 20 );
89- FlammableBlockRegistry .getDefaultInstance ().add (woodBundle .fence_gate , 5 , 20 );
84+ if (woodBundle .burnable ()) {
85+ FlammableBlockRegistry .getDefaultInstance ().add (woodBundle .planks () , 5 , 20 );
86+ FlammableBlockRegistry .getDefaultInstance ().add (woodBundle .stairs () , 5 , 20 );
87+ FlammableBlockRegistry .getDefaultInstance ().add (woodBundle .slab () , 5 , 20 );
88+ FlammableBlockRegistry .getDefaultInstance ().add (woodBundle .fence () , 5 , 20 );
89+ FlammableBlockRegistry .getDefaultInstance ().add (woodBundle .fenceGate () , 5 , 20 );
9090 FuelRegistryEvents .BUILD .register ((builder , context ) -> {
91- builder .add (woodBundle .fence , 300 );
92- builder .add (woodBundle .fence_gate , 300 );
91+ builder .add (woodBundle .fence () , 300 );
92+ builder .add (woodBundle .fenceGate () , 300 );
9393 });
9494 }
9595 }
@@ -103,14 +103,14 @@ public static void init() {
103103
104104 // Wooden mosaic
105105 for (BSSWBundle block : BSSWBundle .values ()) {
106- if (BlockChecker .isWoodenMosaic (block .type , BlockChecker .FLAMMABLE_WOODS ) || BlockChecker .isMossyPlanks (block .type , BlockChecker .FLAMMABLE_WOODS )) {
107- FlammableBlockRegistry .getDefaultInstance ().add (block .block , 5 , 20 );
108- FlammableBlockRegistry .getDefaultInstance ().add (block .stairs , 5 , 20 );
109- FlammableBlockRegistry .getDefaultInstance ().add (block .slab , 5 , 20 );
106+ if (BlockChecker .isWoodenMosaic (block .type () , BlockChecker .FLAMMABLE_WOODS ) || BlockChecker .isMossyPlanks (block .type () , BlockChecker .FLAMMABLE_WOODS )) {
107+ FlammableBlockRegistry .getDefaultInstance ().add (block .block () , 5 , 20 );
108+ FlammableBlockRegistry .getDefaultInstance ().add (block .stairs () , 5 , 20 );
109+ FlammableBlockRegistry .getDefaultInstance ().add (block .slab () , 5 , 20 );
110110 FuelRegistryEvents .BUILD .register ((builder , context ) -> {
111- builder .add (block .block , 300 );
112- builder .add (block .stairs , 300 );
113- builder .add (block .slab , 150 );
111+ builder .add (block .block () , 300 );
112+ builder .add (block .stairs () , 300 );
113+ builder .add (block .slab () , 150 );
114114 });
115115 }
116116 }
@@ -141,9 +141,9 @@ public static void init() {
141141
142142 // Posts
143143 for (WoodenPostBundle woodenPost : WoodenPostBundle .values ()) {
144- if (woodenPost .isBurnable ()) {
145- FlammableBlockRegistry .getDefaultInstance ().add (woodenPost .block , 5 , 5 );
146- FlammableBlockRegistry .getDefaultInstance ().add (woodenPost .stripped , 5 , 5 );
144+ if (woodenPost .burnable ()) {
145+ FlammableBlockRegistry .getDefaultInstance ().add (woodenPost .block () , 5 , 5 );
146+ FlammableBlockRegistry .getDefaultInstance ().add (woodenPost .stripped () , 5 , 5 );
147147 }
148148 }
149149
@@ -172,9 +172,9 @@ public static void init() {
172172 CompostingChanceRegistry .INSTANCE .add (MOSS_HEDGE , 0.65f );
173173 CompostingChanceRegistry .INSTANCE .add (PALE_MOSS_HEDGE , 0.65f );
174174 CompostingChanceRegistry .INSTANCE .add (RAINBOW_ROSE , 0.65f );
175- CompostingChanceRegistry .INSTANCE .add (THATCH .slab , 0.65f );
176- CompostingChanceRegistry .INSTANCE .add (THATCH .block , 0.75f );
177- CompostingChanceRegistry .INSTANCE .add (THATCH .stairs , 0.75f );
175+ CompostingChanceRegistry .INSTANCE .add (THATCH .slab () , 0.65f );
176+ CompostingChanceRegistry .INSTANCE .add (THATCH .block () , 0.75f );
177+ CompostingChanceRegistry .INSTANCE .add (THATCH .stairs () , 0.75f );
178178 CompostingChanceRegistry .INSTANCE .add (WARPED_HEDGE , 0.85f );
179179 CompostingChanceRegistry .INSTANCE .add (CRIMSON_HEDGE , 0.85f );
180180 CompostingChanceRegistry .INSTANCE .add (APPLE_CRATE , 0.95f );
@@ -196,7 +196,7 @@ public static void addStrippables() {
196196 StrippableBlockRegistry .register (WHITE_OAK_LOG , STRIPPED_WHITE_OAK_LOG );
197197 StrippableBlockRegistry .register (WHITE_OAK_WOOD , STRIPPED_WHITE_OAK_WOOD );
198198 for (WoodenPostBundle woodenPost : WoodenPostBundle .values ()) {
199- StrippableBlockRegistry .register (woodenPost .block , woodenPost .stripped );
199+ StrippableBlockRegistry .register (woodenPost .block () , woodenPost .stripped () );
200200 }
201201 }
202202
@@ -216,10 +216,10 @@ public static void registerOxidizable(Block block, Block exposed, Block weathere
216216 }
217217
218218 public static void registerOxidizable (CopperBundle block , CopperBundle exposed , CopperBundle weathered , CopperBundle oxidized ) {
219- registerOxidizable (block .block , exposed .block , weathered .block , oxidized .block , block .blockWaxed , exposed .blockWaxed , weathered .blockWaxed , oxidized .blockWaxed );
220- registerOxidizable (block .stairs , exposed .stairs , weathered .stairs , oxidized .stairs , block .stairsWaxed , exposed .stairsWaxed , weathered .stairsWaxed , oxidized .stairsWaxed );
221- registerOxidizable (block .slab , exposed .slab , weathered .slab , oxidized .slab , block .slabWaxed , exposed .slabWaxed , weathered .slabWaxed , oxidized .slabWaxed );
222- registerOxidizable (block .wall , exposed .wall , weathered .wall , oxidized .wall , block .wallWaxed , exposed .wallWaxed , weathered .wallWaxed , oxidized .wallWaxed );
219+ registerOxidizable (block .block () , exposed .block () , weathered .block () , oxidized .block () , block .blockWaxed () , exposed .blockWaxed () , weathered .blockWaxed () , oxidized .blockWaxed () );
220+ registerOxidizable (block .stairs () , exposed .stairs () , weathered .stairs () , oxidized .stairs () , block .stairsWaxed () , exposed .stairsWaxed () , weathered .stairsWaxed () , oxidized .stairsWaxed () );
221+ registerOxidizable (block .slab () , exposed .slab () , weathered .slab () , oxidized .slab () , block .slabWaxed () , exposed .slabWaxed () , weathered .slabWaxed () , oxidized .slabWaxed () );
222+ registerOxidizable (block .wall () , exposed .wall () , weathered .wall () , oxidized .wall () , block .wallWaxed () , exposed .wallWaxed () , weathered .wallWaxed () , oxidized .wallWaxed () );
223223 }
224224
225225 public static void addPathBlocks () {
0 commit comments