Package | Description |
---|---|
net.minecraft.command.impl | |
net.minecraft.world |
Modifier and Type | Method and Description |
---|---|
private static <T extends GameRules.RuleValue<T>> |
GameRuleCommand.func_223485_b(com.mojang.brigadier.context.CommandContext<CommandSource> p_223485_0_,
GameRules.RuleKey<T> p_223485_1_) |
private static <T extends GameRules.RuleValue<T>> |
GameRuleCommand.func_223486_b(CommandSource p_223486_0_,
GameRules.RuleKey<T> p_223486_1_) |
Modifier and Type | Class and Description |
---|---|
static class |
GameRules.RuleKey<T extends GameRules.RuleValue<T>> |
static class |
GameRules.RuleType<T extends GameRules.RuleValue<T>> |
static class |
GameRules.RuleValue<T extends GameRules.RuleValue<T>> |
Modifier and Type | Class and Description |
---|---|
static class |
GameRules.BooleanValue |
static class |
GameRules.IntegerValue |
Modifier and Type | Field and Description |
---|---|
private java.util.Map<GameRules.RuleKey<?>,GameRules.RuleValue<?>> |
GameRules.rules |
Modifier and Type | Method and Description |
---|---|
<T extends GameRules.RuleValue<T>> |
GameRules.get(GameRules.RuleKey<T> key) |
static <T extends GameRules.RuleValue<T>> |
GameRules.register(java.lang.String gameRuleName,
GameRules.RuleType<T> type) |
<T extends GameRules.RuleValue<T>> |
GameRules.IRuleEntryVisitor.visit(GameRules.RuleKey<T> key,
GameRules.RuleType<T> type) |
private static <T extends GameRules.RuleValue<T>> |
GameRules.visitHelper(GameRules.IRuleEntryVisitor visitor,
GameRules.RuleKey<?> key,
GameRules.RuleType<?> value) |