File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
src/main/java/org/spongepowered/api/world/gamerule Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -48,6 +48,8 @@ public final class GameRules {
4848
4949 public static final DefaultedRegistryReference <GameRule <Boolean >> BLOCK_EXPLOSION_DROP_DECAY = GameRules .key (ResourceKey .sponge ("block_explosion_drop_decay" ));
5050
51+ public static final DefaultedRegistryReference <GameRule <Boolean >> COMMAND_BLOCKS_ENABLED = GameRules .key (ResourceKey .sponge ("command_blocks_enabled" ));
52+
5153 public static final DefaultedRegistryReference <GameRule <Boolean >> COMMAND_BLOCK_OUTPUT = GameRules .key (ResourceKey .sponge ("command_block_output" ));
5254
5355 public static final DefaultedRegistryReference <GameRule <Integer >> COMMAND_MODIFICATION_BLOCK_LIMIT = GameRules .key (ResourceKey .sponge ("command_modification_block_limit" ));
@@ -88,8 +90,6 @@ public final class GameRules {
8890
8991 public static final DefaultedRegistryReference <GameRule <Boolean >> DROWNING_DAMAGE = GameRules .key (ResourceKey .sponge ("drowning_damage" ));
9092
91- public static final DefaultedRegistryReference <GameRule <Boolean >> ENABLE_COMMAND_BLOCKS = GameRules .key (ResourceKey .sponge ("enable_command_blocks" ));
92-
9393 public static final DefaultedRegistryReference <GameRule <Boolean >> ENDER_PEARLS_VANISH_ON_DEATH = GameRules .key (ResourceKey .sponge ("ender_pearls_vanish_on_death" ));
9494
9595 public static final DefaultedRegistryReference <GameRule <Boolean >> FALL_DAMAGE = GameRules .key (ResourceKey .sponge ("fall_damage" ));
@@ -144,6 +144,8 @@ public final class GameRules {
144144
145145 public static final DefaultedRegistryReference <GameRule <Integer >> SNOW_ACCUMULATION_HEIGHT = GameRules .key (ResourceKey .sponge ("snow_accumulation_height" ));
146146
147+ public static final DefaultedRegistryReference <GameRule <Boolean >> SPAWNER_BLOCKS_ENABLED = GameRules .key (ResourceKey .sponge ("spawner_blocks_enabled" ));
148+
147149 public static final DefaultedRegistryReference <GameRule <Boolean >> SPAWN_MONSTERS = GameRules .key (ResourceKey .sponge ("spawn_monsters" ));
148150
149151 public static final DefaultedRegistryReference <GameRule <Integer >> SPAWN_RADIUS = GameRules .key (ResourceKey .sponge ("spawn_radius" ));
You can’t perform that action at this time.
0 commit comments