Package net.minecraft.server.commands
Class GameRuleCommand
java.lang.Object
net.minecraft.server.commands.GameRuleCommand
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription(package private) static <T extends GameRules.Value<T>>
intqueryRule(CommandSourceStack p_137758_, GameRules.Key<T> p_137759_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_137745_) (package private) static <T extends GameRules.Value<T>>
intsetRule(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137755_, GameRules.Key<T> p_137756_)  
- 
Constructor Details
- 
GameRuleCommand
public GameRuleCommand() 
 - 
 - 
Method Details
- 
register
 - 
setRule
static <T extends GameRules.Value<T>> int setRule(com.mojang.brigadier.context.CommandContext<CommandSourceStack> p_137755_, GameRules.Key<T> p_137756_)  - 
queryRule
static <T extends GameRules.Value<T>> int queryRule(CommandSourceStack p_137758_, GameRules.Key<T> p_137759_)  
 -