Package net.minecraft.server.command
Class GameRuleCommand
java.lang.Object
net.minecraft.server.command.GameRuleCommand
- Mappings:
 Namespace Name named net/minecraft/server/command/GameRuleCommandintermediary net/minecraft/class_3065official anf
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescription(package private) static <T extends GameRules.Rule<T>>
intexecuteQuery(ServerCommandSource source, GameRules.Key<T> key) (package private) static <T extends GameRules.Rule<T>>
intexecuteSet(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, GameRules.Key<T> key) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess)  
- 
Constructor Details
- 
GameRuleCommand
public GameRuleCommand() 
 - 
 - 
Method Details
- 
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess) - Mappings:
 Namespace Name Mixin selector named registerLnet/minecraft/server/command/GameRuleCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)Vintermediary method_13392Lnet/minecraft/class_3065;method_13392(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)Vofficial aLanf;a(Lcom/mojang/brigadier/CommandDispatcher;Let;)V
 - 
executeSet
static <T extends GameRules.Rule<T>> int executeSet(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, GameRules.Key<T> key) - Mappings:
 Namespace Name Mixin selector named executeSetLnet/minecraft/server/command/GameRuleCommand;executeSet(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/world/GameRules$Key;)Iintermediary method_13394Lnet/minecraft/class_3065;method_13394(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/class_1928$class_4313;)Iofficial aLanf;a(Lcom/mojang/brigadier/context/CommandContext;Ldgf$e;)I
 - 
executeQuery
static <T extends GameRules.Rule<T>> int executeQuery(ServerCommandSource source, GameRules.Key<T> key) - Mappings:
 Namespace Name Mixin selector named executeQueryLnet/minecraft/server/command/GameRuleCommand;executeQuery(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/world/GameRules$Key;)Iintermediary method_13397Lnet/minecraft/class_3065;method_13397(Lnet/minecraft/class_2168;Lnet/minecraft/class_1928$class_4313;)Iofficial aLanf;a(Lex;Ldgf$e;)I
 
 -