Package net.minecraft.command.impl
Class GameRuleCommand
- java.lang.Object
-
- net.minecraft.command.impl.GameRuleCommand
-
public class GameRuleCommand extends java.lang.Object
-
-
Constructor Summary
Constructors Constructor Description GameRuleCommand()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description private static <T extends GameRules.RuleValue<T>>
intqueryRule(CommandSource p_223486_0_, GameRules.RuleKey<T> p_223486_1_)
static void
register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198487_0_)
private static <T extends GameRules.RuleValue<T>>
intsetRule(com.mojang.brigadier.context.CommandContext<CommandSource> p_223485_0_, GameRules.RuleKey<T> p_223485_1_)
-
-
-
Method Detail
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<CommandSource> p_198487_0_)
-
setRule
private static <T extends GameRules.RuleValue<T>> int setRule(com.mojang.brigadier.context.CommandContext<CommandSource> p_223485_0_, GameRules.RuleKey<T> p_223485_1_)
-
queryRule
private static <T extends GameRules.RuleValue<T>> int queryRule(CommandSource p_223486_0_, GameRules.RuleKey<T> p_223486_1_)
-
-