History - net.minecraft.world.rule.GameRules

26.3-snapshot-3

Names

Fields

Constructors

Methods

26.3-snapshot-2

Names

Fields

Constructors

Methods

26.3-snapshot-1

Names

Fields

Constructors

Methods

26.2

Names

Fields

Constructors

Methods

26.1.2

Names

Fields

Constructors

Methods

26.1.1

Names

Fields

Constructors

Methods

26.1

Names

Fields

GameRule<Boolean>: BLOCK_DROPS, field_19392, DO_TILE_DROPS

GameRule<Boolean>: BLOCK_DROPS, field_19392, BLOCK_DROPS

GameRule<Boolean>: IMMEDIATE_RESPAWN, field_20638, DO_IMMEDIATE_RESPAWN

GameRule<Boolean>: IMMEDIATE_RESPAWN, field_20638, IMMEDIATE_RESPAWN

GameRule<Boolean>: MOB_DROPS, field_19391, DO_MOB_LOOT

GameRule<Boolean>: MOB_DROPS, field_19391, MOB_DROPS

GameRule<Boolean>: MOB_GRIEFING, field_19388, DO_MOB_GRIEFING

GameRule<Boolean>: MOB_GRIEFING, field_19388, MOB_GRIEFING

GameRule<Boolean>: RAIDS, field_19422, DISABLE_RAIDS

GameRule<Boolean>: RAIDS, field_19422, RAIDS

GameRule<Boolean>: SHOW_ADVANCEMENT_MESSAGES, field_19409, ANNOUNCE_ADVANCEMENTS

GameRule<Boolean>: SHOW_ADVANCEMENT_MESSAGES, field_19409, SHOW_ADVANCEMENT_MESSAGES

GameRule<Boolean>: SPAWN_MOBS, field_19390, DO_MOB_SPAWNING

GameRule<Boolean>: SPAWN_MOBS, field_19390, SPAWN_MOBS

org.slf4j.Logger: LOGGER, field_1_2071, LOGGER

Constructors

(List<GameRule<?>>)

Methods

int (Integer): lambda$registerInteger$5, method_76194, method_76194

int (Integer): lambda$registerInteger$0, method_76194, method_76194

int (Boolean): lambda$registerBoolean$4, method_76193, method_76193

int (Boolean): lambda$registerBoolean$0, method_76193, method_76193

void (GameRuleVisitor, GameRule): lambda$visitGameRuleTypes$3, method_76190, method_76190

void (GameRuleVisitor, GameRule): lambda$visitGameRuleTypes$0, method_76190, method_76190

void (ServerGameRules, MinecraftServer, GameRule): lambda$setAll$2, method_76189, method_76189

void (ServerGameRules, MinecraftServer, GameRule): lambda$setAll$0, method_76189, method_76189

void (FeatureSet, ServerGameRules, GameRule): lambda$new$0, method_1_1754, method_1_1754

1.21.11_unobfuscated

Names

net.minecraft.world.level.gamerules.GameRules

net.minecraft.class_1928

net.minecraft.world.rule.GameRules

Fields

GameRule<Boolean>: ADVANCE_TIME, field_19396, ADVANCE_TIME

GameRule<Boolean>: ADVANCE_WEATHER, field_19406, ADVANCE_WEATHER

GameRule<Boolean>: ALLOW_ENTERING_NETHER_USING_PORTALS, field_62435, ALLOW_ENTERING_NETHER_USING_PORTALS

GameRule<Boolean>: BLOCK_DROPS, field_19392, DO_TILE_DROPS

GameRule<Boolean>: BLOCK_EXPLOSION_DROP_DECAY, field_40880, BLOCK_EXPLOSION_DROP_DECAY

GameRule<Boolean>: COMMAND_BLOCKS_WORK, field_62916, COMMAND_BLOCKS_WORK

GameRule<Boolean>: COMMAND_BLOCK_OUTPUT, field_19394, COMMAND_BLOCK_OUTPUT

GameRule<Boolean>: DROWNING_DAMAGE, field_20634, DROWNING_DAMAGE

GameRule<Boolean>: ELYTRA_MOVEMENT_CHECK, field_19404, ELYTRA_MOVEMENT_CHECK

GameRule<Boolean>: ENDER_PEARLS_VANISH_ON_DEATH, field_46176, ENDER_PEARLS_VANISH_ON_DEATH

GameRule<Boolean>: ENTITY_DROPS, field_19393, ENTITY_DROPS

GameRule<Boolean>: FALL_DAMAGE, field_20635, FALL_DAMAGE

GameRule<Boolean>: FIRE_DAMAGE, field_20636, FIRE_DAMAGE

GameRule<Integer>: FIRE_SPREAD_RADIUS_AROUND_PLAYER, field_56559, FIRE_SPREAD_RADIUS_AROUND_PLAYER

GameRule<Boolean>: FORGIVE_DEAD_PLAYERS, field_25401, FORGIVE_DEAD_PLAYERS

GameRule<Boolean>: FREEZE_DAMAGE, field_28044, FREEZE_DAMAGE

GameRule<Boolean>: GLOBAL_SOUND_EVENTS, field_40886, GLOBAL_SOUND_EVENTS

GameRule<Boolean>: IMMEDIATE_RESPAWN, field_20638, DO_IMMEDIATE_RESPAWN

GameRule<Boolean>: KEEP_INVENTORY, field_19389, KEEP_INVENTORY

GameRule<Boolean>: LAVA_SOURCE_CONVERSION, field_40885, LAVA_SOURCE_CONVERSION

GameRule<Boolean>: LIMITED_CRAFTING, field_19407, LIMITED_CRAFTING

GameRule<Boolean>: LOCATOR_BAR, field_59751, LOCATOR_BAR

GameRule<Boolean>: LOG_ADMIN_COMMANDS, field_19397, LOG_ADMIN_COMMANDS

GameRule<Integer>: MAX_BLOCK_MODIFICATIONS, field_41766, MAX_BLOCK_MODIFICATIONS

GameRule<Integer>: MAX_COMMAND_FORKS, field_46658, MAX_COMMAND_FORKS

GameRule<Integer>: MAX_COMMAND_SEQUENCE_LENGTH, field_19408, MAX_COMMAND_SEQUENCE_LENGTH

GameRule<Integer>: MAX_ENTITY_CRAMMING, field_19405, MAX_ENTITY_CRAMMING

GameRule<Integer>: MAX_MINECART_SPEED, field_52614, MAX_MINECART_SPEED

GameRule<Integer>: MAX_SNOW_ACCUMULATION_HEIGHT, field_40883, MAX_SNOW_ACCUMULATION_HEIGHT

GameRule<Boolean>: MOB_DROPS, field_19391, DO_MOB_LOOT

GameRule<Boolean>: MOB_EXPLOSION_DROP_DECAY, field_40881, MOB_EXPLOSION_DROP_DECAY

GameRule<Boolean>: MOB_GRIEFING, field_19388, DO_MOB_GRIEFING

GameRule<Boolean>: NATURAL_HEALTH_REGENERATION, field_19395, NATURAL_HEALTH_REGENERATION

GameRule<Boolean>: PLAYER_MOVEMENT_CHECK, field_54909, PLAYER_MOVEMENT_CHECK

GameRule<Integer>: PLAYERS_NETHER_PORTAL_CREATIVE_DELAY, field_46795, PLAYERS_NETHER_PORTAL_CREATIVE_DELAY

GameRule<Integer>: PLAYERS_NETHER_PORTAL_DEFAULT_DELAY, field_46794, PLAYERS_NETHER_PORTAL_DEFAULT_DELAY

GameRule<Integer>: PLAYERS_SLEEPING_PERCENTAGE, field_28357, PLAYERS_SLEEPING_PERCENTAGE

GameRule<Boolean>: PROJECTILES_CAN_BREAK_BLOCKS, field_46796, PROJECTILES_CAN_BREAK_BLOCKS

GameRule<Boolean>: PVP, field_62434, PVP

GameRule<Boolean>: RAIDS, field_19422, DISABLE_RAIDS

GameRule<Integer>: RANDOM_TICK_SPEED, field_19399, RANDOM_TICK_SPEED

GameRule<Boolean>: REDUCED_DEBUG_INFO, field_19401, REDUCED_DEBUG_INFO

GameRule<Integer>: RESPAWN_RADIUS, field_19403, RESPAWN_RADIUS

GameRule<Boolean>: SEND_COMMAND_FEEDBACK, field_19400, SEND_COMMAND_FEEDBACK

GameRule<Boolean>: SHOW_ADVANCEMENT_MESSAGES, field_19409, ANNOUNCE_ADVANCEMENTS

GameRule<Boolean>: SHOW_DEATH_MESSAGES, field_19398, SHOW_DEATH_MESSAGES

GameRule<Boolean>: SPAWNER_BLOCKS_WORK, field_62917, SPAWNER_BLOCKS_WORK

GameRule<Boolean>: SPAWN_MOBS, field_19390, DO_MOB_SPAWNING

GameRule<Boolean>: SPAWN_MONSTERS, field_62436, SPAWN_MONSTERS

GameRule<Boolean>: SPAWN_PATROLS, field_21831, SPAWN_PATROLS

GameRule<Boolean>: SPAWN_PHANTOMS, field_20637, SPAWN_PHANTOMS

GameRule<Boolean>: SPAWN_WANDERING_TRADERS, field_21832, SPAWN_WANDERING_TRADERS

GameRule<Boolean>: SPAWN_WARDENS, field_38975, SPAWN_WARDENS

GameRule<Boolean>: SPECTATORS_GENERATE_CHUNKS, field_19402, SPECTATORS_GENERATE_CHUNKS

GameRule<Boolean>: SPREAD_VINES, field_42474, SPREAD_VINES

GameRule<Boolean>: TNT_EXPLODES, field_58052, TNT_EXPLODES

GameRule<Boolean>: TNT_EXPLOSION_DROP_DECAY, field_40882, TNT_EXPLOSION_DROP_DECAY

GameRule<Boolean>: UNIVERSAL_ANGER, field_25402, UNIVERSAL_ANGER

GameRule<Boolean>: WATER_SOURCE_CONVERSION, field_40884, WATER_SOURCE_CONVERSION

ServerGameRules: rules, field_9196, rules

Constructors

(FeatureSet, ServerGameRules)

(FeatureSet)

Methods

com.mojang.serialization.Codec<GameRules> (FeatureSet): codec, method_76182, createCodec

Stream<GameRule<?>> (): availableRules, method_76181, streamRules

<T> T (GameRule<T>): get, method_76185, getValue

<T> void (GameRule<T>, T, MinecraftServer): set, method_76186, setValue

GameRules (FeatureSet): copy, method_27325, withEnabledFeatures

void (GameRules, MinecraftServer): setAll, method_76192, copyFrom

void (ServerGameRules, MinecraftServer): setAll, method_76188, copyFrom

<T> void (ServerGameRules, GameRule<T>, MinecraftServer): setFromOther, method_76187, copyFrom

void (GameRuleVisitor): visitGameRuleTypes, method_20744, accept

GameRule<Boolean> (String, GameRuleCategory, boolean): registerBoolean, method_76198, registerBooleanRule

GameRule<Integer> (String, GameRuleCategory, int, int): registerInteger, method_76195, registerIntRule

GameRule<Integer> (String, GameRuleCategory, int, int, int): registerInteger, method_76196, registerIntRule

GameRule<Integer> (String, GameRuleCategory, int, int, int, FeatureSet): registerInteger, method_76197, registerIntRule

<T> GameRule<T> (String, GameRuleCategory, GameRuleType, com.mojang.brigadier.arguments.ArgumentType<T>, com.mojang.serialization.Codec<T>, T, FeatureSet, GameRules$Acceptor<T>, ToIntFunction<T>): register, method_8359, register

GameRule<?> (Registry<GameRule<?>>): bootstrap, method_76199, registerAndGetDefault

<T> String (GameRule<T>): getAsString, method_76200, getRuleValueName

int (Integer): lambda$registerInteger$5, method_76194, method_76194

int (Boolean): lambda$registerBoolean$4, method_76193, method_76193

void (GameRuleVisitor, GameRule): lambda$visitGameRuleTypes$3, method_76190, method_76190

void (ServerGameRules, MinecraftServer, GameRule): lambda$setAll$2, method_76189, method_76189

ServerGameRules (GameRules): lambda$codec$1, method_76191, method_76191

GameRules (FeatureSet, ServerGameRules): lambda$codec$0, method_76184, method_76184