@@ -630,7 +630,7 @@ public final class Blocks {
630
630
public static final Block REDSTONE_WALL_TORCH = register (new Block ("redstone_wall_torch" , builder ().pushReaction (PistonBehavior .DESTROY )
631
631
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
632
632
.booleanState (LIT )));
633
- public static final Block STONE_BUTTON = register (new Block ("stone_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
633
+ public static final Block STONE_BUTTON = register (new ButtonBlock ("stone_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
634
634
.enumState (ATTACH_FACE )
635
635
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
636
636
.booleanState (POWERED )));
@@ -997,43 +997,43 @@ public final class Blocks {
997
997
.intState (AGE_7 )));
998
998
public static final Block POTATOES = register (new Block ("potatoes" , builder ().pushReaction (PistonBehavior .DESTROY )
999
999
.intState (AGE_7 )));
1000
- public static final Block OAK_BUTTON = register (new Block ("oak_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1000
+ public static final Block OAK_BUTTON = register (new ButtonBlock ("oak_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1001
1001
.enumState (ATTACH_FACE )
1002
1002
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
1003
1003
.booleanState (POWERED )));
1004
- public static final Block SPRUCE_BUTTON = register (new Block ("spruce_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1004
+ public static final Block SPRUCE_BUTTON = register (new ButtonBlock ("spruce_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1005
1005
.enumState (ATTACH_FACE )
1006
1006
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
1007
1007
.booleanState (POWERED )));
1008
- public static final Block BIRCH_BUTTON = register (new Block ("birch_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1008
+ public static final Block BIRCH_BUTTON = register (new ButtonBlock ("birch_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1009
1009
.enumState (ATTACH_FACE )
1010
1010
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
1011
1011
.booleanState (POWERED )));
1012
- public static final Block JUNGLE_BUTTON = register (new Block ("jungle_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1012
+ public static final Block JUNGLE_BUTTON = register (new ButtonBlock ("jungle_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1013
1013
.enumState (ATTACH_FACE )
1014
1014
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
1015
1015
.booleanState (POWERED )));
1016
- public static final Block ACACIA_BUTTON = register (new Block ("acacia_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1016
+ public static final Block ACACIA_BUTTON = register (new ButtonBlock ("acacia_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1017
1017
.enumState (ATTACH_FACE )
1018
1018
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
1019
1019
.booleanState (POWERED )));
1020
- public static final Block CHERRY_BUTTON = register (new Block ("cherry_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1020
+ public static final Block CHERRY_BUTTON = register (new ButtonBlock ("cherry_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1021
1021
.enumState (ATTACH_FACE )
1022
1022
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
1023
1023
.booleanState (POWERED )));
1024
- public static final Block DARK_OAK_BUTTON = register (new Block ("dark_oak_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1024
+ public static final Block DARK_OAK_BUTTON = register (new ButtonBlock ("dark_oak_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1025
1025
.enumState (ATTACH_FACE )
1026
1026
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
1027
1027
.booleanState (POWERED )));
1028
- public static final Block PALE_OAK_BUTTON = register (new Block ("pale_oak_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1028
+ public static final Block PALE_OAK_BUTTON = register (new ButtonBlock ("pale_oak_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1029
1029
.enumState (ATTACH_FACE )
1030
1030
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
1031
1031
.booleanState (POWERED )));
1032
- public static final Block MANGROVE_BUTTON = register (new Block ("mangrove_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1032
+ public static final Block MANGROVE_BUTTON = register (new ButtonBlock ("mangrove_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1033
1033
.enumState (ATTACH_FACE )
1034
1034
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
1035
1035
.booleanState (POWERED )));
1036
- public static final Block BAMBOO_BUTTON = register (new Block ("bamboo_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1036
+ public static final Block BAMBOO_BUTTON = register (new ButtonBlock ("bamboo_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
1037
1037
.enumState (ATTACH_FACE )
1038
1038
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
1039
1039
.booleanState (POWERED )));
@@ -2232,11 +2232,11 @@ public final class Blocks {
2232
2232
.enumState (HALF )
2233
2233
.enumState (STAIRS_SHAPE )
2234
2234
.booleanState (WATERLOGGED )));
2235
- public static final Block CRIMSON_BUTTON = register (new Block ("crimson_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
2235
+ public static final Block CRIMSON_BUTTON = register (new ButtonBlock ("crimson_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
2236
2236
.enumState (ATTACH_FACE )
2237
2237
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
2238
2238
.booleanState (POWERED )));
2239
- public static final Block WARPED_BUTTON = register (new Block ("warped_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
2239
+ public static final Block WARPED_BUTTON = register (new ButtonBlock ("warped_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
2240
2240
.enumState (ATTACH_FACE )
2241
2241
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
2242
2242
.booleanState (POWERED )));
@@ -2336,7 +2336,7 @@ public final class Blocks {
2336
2336
.booleanState (WATERLOGGED )));
2337
2337
public static final Block POLISHED_BLACKSTONE_PRESSURE_PLATE = register (new Block ("polished_blackstone_pressure_plate" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
2338
2338
.booleanState (POWERED )));
2339
- public static final Block POLISHED_BLACKSTONE_BUTTON = register (new Block ("polished_blackstone_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
2339
+ public static final Block POLISHED_BLACKSTONE_BUTTON = register (new ButtonBlock ("polished_blackstone_button" , builder ().destroyTime (0.5f ).pushReaction (PistonBehavior .DESTROY )
2340
2340
.enumState (ATTACH_FACE )
2341
2341
.enumState (HORIZONTAL_FACING , Direction .NORTH , Direction .SOUTH , Direction .WEST , Direction .EAST )
2342
2342
.booleanState (POWERED )));
0 commit comments