Class GameRuleKeys

java.lang.Object
fr.fidorial.registry.keys.GameRuleKeys

public final class GameRuleKeys extends Object
Typed keys for entries in the minecraft:game_rule registry.
  • Field Details

    • ADVANCE_TIME

      public static final TypedKey<GameRule> ADVANCE_TIME
      Key for minecraft:advance_time.
    • ADVANCE_WEATHER

      public static final TypedKey<GameRule> ADVANCE_WEATHER
      Key for minecraft:advance_weather.
    • ALLOW_ENTERING_NETHER_USING_PORTALS

      public static final TypedKey<GameRule> ALLOW_ENTERING_NETHER_USING_PORTALS
      Key for minecraft:allow_entering_nether_using_portals.
    • BLOCK_DROPS

      public static final TypedKey<GameRule> BLOCK_DROPS
      Key for minecraft:block_drops.
    • BLOCK_EXPLOSION_DROP_DECAY

      public static final TypedKey<GameRule> BLOCK_EXPLOSION_DROP_DECAY
      Key for minecraft:block_explosion_drop_decay.
    • COMMAND_BLOCK_OUTPUT

      public static final TypedKey<GameRule> COMMAND_BLOCK_OUTPUT
      Key for minecraft:command_block_output.
    • COMMAND_BLOCKS_WORK

      public static final TypedKey<GameRule> COMMAND_BLOCKS_WORK
      Key for minecraft:command_blocks_work.
    • DROWNING_DAMAGE

      public static final TypedKey<GameRule> DROWNING_DAMAGE
      Key for minecraft:drowning_damage.
    • ELYTRA_MOVEMENT_CHECK

      public static final TypedKey<GameRule> ELYTRA_MOVEMENT_CHECK
      Key for minecraft:elytra_movement_check.
    • ENDER_PEARLS_VANISH_ON_DEATH

      public static final TypedKey<GameRule> ENDER_PEARLS_VANISH_ON_DEATH
      Key for minecraft:ender_pearls_vanish_on_death.
    • ENTITY_DROPS

      public static final TypedKey<GameRule> ENTITY_DROPS
      Key for minecraft:entity_drops.
    • FALL_DAMAGE

      public static final TypedKey<GameRule> FALL_DAMAGE
      Key for minecraft:fall_damage.
    • FIRE_DAMAGE

      public static final TypedKey<GameRule> FIRE_DAMAGE
      Key for minecraft:fire_damage.
    • FIRE_SPREAD_RADIUS_AROUND_PLAYER

      public static final TypedKey<GameRule> FIRE_SPREAD_RADIUS_AROUND_PLAYER
      Key for minecraft:fire_spread_radius_around_player.
    • FORGIVE_DEAD_PLAYERS

      public static final TypedKey<GameRule> FORGIVE_DEAD_PLAYERS
      Key for minecraft:forgive_dead_players.
    • FREEZE_DAMAGE

      public static final TypedKey<GameRule> FREEZE_DAMAGE
      Key for minecraft:freeze_damage.
    • GLOBAL_SOUND_EVENTS

      public static final TypedKey<GameRule> GLOBAL_SOUND_EVENTS
      Key for minecraft:global_sound_events.
    • IMMEDIATE_RESPAWN

      public static final TypedKey<GameRule> IMMEDIATE_RESPAWN
      Key for minecraft:immediate_respawn.
    • KEEP_INVENTORY

      public static final TypedKey<GameRule> KEEP_INVENTORY
      Key for minecraft:keep_inventory.
    • LAVA_SOURCE_CONVERSION

      public static final TypedKey<GameRule> LAVA_SOURCE_CONVERSION
      Key for minecraft:lava_source_conversion.
    • LIMITED_CRAFTING

      public static final TypedKey<GameRule> LIMITED_CRAFTING
      Key for minecraft:limited_crafting.
    • LOCATOR_BAR

      public static final TypedKey<GameRule> LOCATOR_BAR
      Key for minecraft:locator_bar.
    • LOG_ADMIN_COMMANDS

      public static final TypedKey<GameRule> LOG_ADMIN_COMMANDS
      Key for minecraft:log_admin_commands.
    • MAX_BLOCK_MODIFICATIONS

      public static final TypedKey<GameRule> MAX_BLOCK_MODIFICATIONS
      Key for minecraft:max_block_modifications.
    • MAX_COMMAND_FORKS

      public static final TypedKey<GameRule> MAX_COMMAND_FORKS
      Key for minecraft:max_command_forks.
    • MAX_COMMAND_SEQUENCE_LENGTH

      public static final TypedKey<GameRule> MAX_COMMAND_SEQUENCE_LENGTH
      Key for minecraft:max_command_sequence_length.
    • MAX_ENTITY_CRAMMING

      public static final TypedKey<GameRule> MAX_ENTITY_CRAMMING
      Key for minecraft:max_entity_cramming.
    • MAX_MINECART_SPEED

      public static final TypedKey<GameRule> MAX_MINECART_SPEED
      Key for minecraft:max_minecart_speed.
    • MAX_SNOW_ACCUMULATION_HEIGHT

      public static final TypedKey<GameRule> MAX_SNOW_ACCUMULATION_HEIGHT
      Key for minecraft:max_snow_accumulation_height.
    • MOB_DROPS

      public static final TypedKey<GameRule> MOB_DROPS
      Key for minecraft:mob_drops.
    • MOB_EXPLOSION_DROP_DECAY

      public static final TypedKey<GameRule> MOB_EXPLOSION_DROP_DECAY
      Key for minecraft:mob_explosion_drop_decay.
    • MOB_GRIEFING

      public static final TypedKey<GameRule> MOB_GRIEFING
      Key for minecraft:mob_griefing.
    • NATURAL_HEALTH_REGENERATION

      public static final TypedKey<GameRule> NATURAL_HEALTH_REGENERATION
      Key for minecraft:natural_health_regeneration.
    • PLAYER_MOVEMENT_CHECK

      public static final TypedKey<GameRule> PLAYER_MOVEMENT_CHECK
      Key for minecraft:player_movement_check.
    • PLAYERS_NETHER_PORTAL_CREATIVE_DELAY

      public static final TypedKey<GameRule> PLAYERS_NETHER_PORTAL_CREATIVE_DELAY
      Key for minecraft:players_nether_portal_creative_delay.
    • PLAYERS_NETHER_PORTAL_DEFAULT_DELAY

      public static final TypedKey<GameRule> PLAYERS_NETHER_PORTAL_DEFAULT_DELAY
      Key for minecraft:players_nether_portal_default_delay.
    • PLAYERS_SLEEPING_PERCENTAGE

      public static final TypedKey<GameRule> PLAYERS_SLEEPING_PERCENTAGE
      Key for minecraft:players_sleeping_percentage.
    • PROJECTILES_CAN_BREAK_BLOCKS

      public static final TypedKey<GameRule> PROJECTILES_CAN_BREAK_BLOCKS
      Key for minecraft:projectiles_can_break_blocks.
    • PVP

      public static final TypedKey<GameRule> PVP
      Key for minecraft:pvp.
    • RAIDS

      public static final TypedKey<GameRule> RAIDS
      Key for minecraft:raids.
    • RANDOM_TICK_SPEED

      public static final TypedKey<GameRule> RANDOM_TICK_SPEED
      Key for minecraft:random_tick_speed.
    • REDUCED_DEBUG_INFO

      public static final TypedKey<GameRule> REDUCED_DEBUG_INFO
      Key for minecraft:reduced_debug_info.
    • RESPAWN_RADIUS

      public static final TypedKey<GameRule> RESPAWN_RADIUS
      Key for minecraft:respawn_radius.
    • SEND_COMMAND_FEEDBACK

      public static final TypedKey<GameRule> SEND_COMMAND_FEEDBACK
      Key for minecraft:send_command_feedback.
    • SHOW_ADVANCEMENT_MESSAGES

      public static final TypedKey<GameRule> SHOW_ADVANCEMENT_MESSAGES
      Key for minecraft:show_advancement_messages.
    • SHOW_DEATH_MESSAGES

      public static final TypedKey<GameRule> SHOW_DEATH_MESSAGES
      Key for minecraft:show_death_messages.
    • SPAWN_MOBS

      public static final TypedKey<GameRule> SPAWN_MOBS
      Key for minecraft:spawn_mobs.
    • SPAWN_MONSTERS

      public static final TypedKey<GameRule> SPAWN_MONSTERS
      Key for minecraft:spawn_monsters.
    • SPAWN_PATROLS

      public static final TypedKey<GameRule> SPAWN_PATROLS
      Key for minecraft:spawn_patrols.
    • SPAWN_PHANTOMS

      public static final TypedKey<GameRule> SPAWN_PHANTOMS
      Key for minecraft:spawn_phantoms.
    • SPAWN_WANDERING_TRADERS

      public static final TypedKey<GameRule> SPAWN_WANDERING_TRADERS
      Key for minecraft:spawn_wandering_traders.
    • SPAWN_WARDENS

      public static final TypedKey<GameRule> SPAWN_WARDENS
      Key for minecraft:spawn_wardens.
    • SPAWNER_BLOCKS_WORK

      public static final TypedKey<GameRule> SPAWNER_BLOCKS_WORK
      Key for minecraft:spawner_blocks_work.
    • SPECTATORS_GENERATE_CHUNKS

      public static final TypedKey<GameRule> SPECTATORS_GENERATE_CHUNKS
      Key for minecraft:spectators_generate_chunks.
    • SPREAD_VINES

      public static final TypedKey<GameRule> SPREAD_VINES
      Key for minecraft:spread_vines.
    • TNT_EXPLODES

      public static final TypedKey<GameRule> TNT_EXPLODES
      Key for minecraft:tnt_explodes.
    • TNT_EXPLOSION_DROP_DECAY

      public static final TypedKey<GameRule> TNT_EXPLOSION_DROP_DECAY
      Key for minecraft:tnt_explosion_drop_decay.
    • UNIVERSAL_ANGER

      public static final TypedKey<GameRule> UNIVERSAL_ANGER
      Key for minecraft:universal_anger.
    • WATER_SOURCE_CONVERSION

      public static final TypedKey<GameRule> WATER_SOURCE_CONVERSION
      Key for minecraft:water_source_conversion.
  • Method Details

    • values

      public static Stream<TypedKey<GameRule>> values()
      Returns a stream containing all keys declared by this class.
      Returns:
      a stream of registry keys