类 GameRuleCommand
- java.lang.Object
-
- net.minecraft.server.command.GameRuleCommand
-
public class GameRuleCommand extends Object
- Mappings:
Namespace Name official yhintermediary net/minecraft/class_3065named net/minecraft/server/command/GameRuleCommand
-
-
构造器概要
构造器 构造器 说明 GameRuleCommand()
-
方法概要
所有方法 静态方法 具体方法 修饰符和类型 方法 说明 private static <T extends GameRules.Rule<T>>
intexecuteQuery(ServerCommandSource source, GameRules.Key<T> key)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)
-
-
-
方法详细资料
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
- Mappings:
Namespace Name Mixin selector official aLyh;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13392Lnet/minecraft/class_3065;method_13392(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/GameRuleCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
executeSet
private static <T extends GameRules.Rule<T>> int executeSet(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, GameRules.Key<T> key)
- Mappings:
Namespace Name Mixin selector official bLyh;b(Lcom/mojang/brigadier/context/CommandContext;Lbvn$e;)Iintermediary method_13394Lnet/minecraft/class_3065;method_13394(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/class_1928$class_4313;)Inamed executeSetLnet/minecraft/server/command/GameRuleCommand;executeSet(Lcom/mojang/brigadier/context/CommandContext;Lnet/minecraft/world/GameRules$Key;)I
-
executeQuery
private static <T extends GameRules.Rule<T>> int executeQuery(ServerCommandSource source, GameRules.Key<T> key)
- Mappings:
Namespace Name Mixin selector official bLyh;b(Ldg;Lbvn$e;)Iintermediary method_13397Lnet/minecraft/class_3065;method_13397(Lnet/minecraft/class_2168;Lnet/minecraft/class_1928$class_4313;)Inamed executeQueryLnet/minecraft/server/command/GameRuleCommand;executeQuery(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/world/GameRules$Key;)I
-
-