Uses of Class
net.minecraft.world.GameRules.RuleKey
-
Uses of GameRules.RuleKey in net.minecraft.command.impl
Modifier and TypeMethodDescriptionprivate static <T extends GameRules.RuleValue<T>>
intGameRuleCommand.queryRule
(CommandSource p_223486_0_, GameRules.RuleKey<T> p_223486_1_) private static <T extends GameRules.RuleValue<T>>
intGameRuleCommand.setRule
(com.mojang.brigadier.context.CommandContext<CommandSource> p_223485_0_, GameRules.RuleKey<T> p_223485_1_) -
Uses of GameRules.RuleKey in net.minecraft.world
Modifier and TypeFieldDescriptionstatic final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_ANNOUNCE_ADVANCEMENTS
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_COMMANDBLOCKOUTPUT
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_DAYLIGHT
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_DISABLE_ELYTRA_MOVEMENT_CHECK
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_DISABLE_RAIDS
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_DO_IMMEDIATE_RESPAWN
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_DO_PATROL_SPAWNING
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_DO_TRADER_SPAWNING
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_DOBLOCKDROPS
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_DOENTITYDROPS
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_DOFIRETICK
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_DOINSOMNIA
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_DOMOBLOOT
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_DOMOBSPAWNING
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_DROWNING_DAMAGE
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_FALL_DAMAGE
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_FIRE_DAMAGE
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_FORGIVE_DEAD_PLAYERS
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_KEEPINVENTORY
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_LIMITED_CRAFTING
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_LOGADMINCOMMANDS
static final GameRules.RuleKey<GameRules.IntegerValue>
GameRules.RULE_MAX_COMMAND_CHAIN_LENGTH
static final GameRules.RuleKey<GameRules.IntegerValue>
GameRules.RULE_MAX_ENTITY_CRAMMING
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_MOBGRIEFING
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_NATURAL_REGENERATION
static final GameRules.RuleKey<GameRules.IntegerValue>
GameRules.RULE_RANDOMTICKING
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_REDUCEDDEBUGINFO
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_SENDCOMMANDFEEDBACK
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_SHOWDEATHMESSAGES
static final GameRules.RuleKey<GameRules.IntegerValue>
GameRules.RULE_SPAWN_RADIUS
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_SPECTATORSGENERATECHUNKS
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_UNIVERSAL_ANGER
static final GameRules.RuleKey<GameRules.BooleanValue>
GameRules.RULE_WEATHER_CYCLE
Modifier and TypeFieldDescriptionprivate static final Map<GameRules.RuleKey<?>,
GameRules.RuleType<?>> GameRules.GAME_RULE_TYPES
private final Map<GameRules.RuleKey<?>,
GameRules.RuleValue<?>> GameRules.rules
Modifier and TypeMethodDescriptionstatic <T extends GameRules.RuleValue<T>>
GameRules.RuleKey<T>GameRules.register
(String p_234903_0_, GameRules.Category p_234903_1_, GameRules.RuleType<T> p_234903_2_) Modifier and TypeMethodDescriptionprivate <T extends GameRules.RuleValue<T>>
voidGameRules.assignCap
(GameRules.RuleKey<T> p_234898_1_, GameRules p_234898_2_, MinecraftServer p_234898_3_) void
GameRules.IRule.call
(GameRules.IRuleEntryVisitor p_call_1_, GameRules.RuleKey<T> p_call_2_, GameRules.RuleType<T> p_call_3_) void
GameRules.RuleType.callVisitor
(GameRules.IRuleEntryVisitor p_234914_1_, GameRules.RuleKey<T> p_234914_2_) private static <T extends GameRules.RuleValue<T>>
voidGameRules.callVisitorCap
(GameRules.IRuleEntryVisitor p_234897_0_, GameRules.RuleKey<?> p_234897_1_, GameRules.RuleType<?> p_234897_2_) boolean
GameRules.getBoolean
(GameRules.RuleKey<GameRules.BooleanValue> p_223586_1_) int
GameRules.getInt
(GameRules.RuleKey<GameRules.IntegerValue> p_223592_1_) <T extends GameRules.RuleValue<T>>
TGameRules.getRule
(GameRules.RuleKey<T> p_223585_1_) default <T extends GameRules.RuleValue<T>>
voidGameRules.IRuleEntryVisitor.visit
(GameRules.RuleKey<T> p_223481_1_, GameRules.RuleType<T> p_223481_2_) default void
GameRules.IRuleEntryVisitor.visitBoolean
(GameRules.RuleKey<GameRules.BooleanValue> p_230482_1_, GameRules.RuleType<GameRules.BooleanValue> p_230482_2_) default void
GameRules.IRuleEntryVisitor.visitInteger
(GameRules.RuleKey<GameRules.IntegerValue> p_230483_1_, GameRules.RuleType<GameRules.IntegerValue> p_230483_2_) ModifierConstructorDescriptionprivate
GameRules
(Map<GameRules.RuleKey<?>, GameRules.RuleValue<?>> p_i231612_1_)