net.minecraft.server.command

public class GameRuleCommand

net.minecraft.server.commands.GameRuleCommand
net.minecraft.class_3065
net.minecraft.server.command.GameRuleCommand

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context)
method_13392(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess commandRegistryAccess)
private static <T> com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource>
buildRuleArguments(GameRule<T> gameRule, com.mojang.brigadier.builder.LiteralArgumentBuilder<CommandSourceStack> ruleLiteral)
method_76682(class_12279<T> arg0, com.mojang.brigadier.builder.LiteralArgumentBuilder<class_2168> arg1)
appendRule(GameRule<T> rule, com.mojang.brigadier.builder.LiteralArgumentBuilder<ServerCommandSource> builder)
private static <T> int
setRule(com.mojang.brigadier.context.CommandContext<CommandSourceStack> context, GameRule<T> gameRule)
method_13394(com.mojang.brigadier.context.CommandContext<class_2168> arg0, class_12279<T> arg1)
executeSet(com.mojang.brigadier.context.CommandContext<ServerCommandSource> context, GameRule<T> key)
private static <T> int
queryRule(CommandSourceStack source, GameRule<T> gameRule)
method_13397(class_2168 arg0, class_12279<T> arg1)
executeQuery(ServerCommandSource source, GameRule<T> key)
private static Text
lambda$queryRule$0(GameRule arg0, Object arg1)
method_51989(class_12279 arg0, Object arg1)
method_51989(GameRule arg0, Object arg1)
private static Text
lambda$setRule$0(GameRule arg0, Object arg1)
method_51990(class_12279 arg0, Object arg1)
method_51990(GameRule arg0, Object arg1)
private static int
lambda$buildRuleArguments$1(GameRule arg0, com.mojang.brigadier.context.CommandContext arg1)
method_76683(class_12279 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_76683(GameRule arg0, com.mojang.brigadier.context.CommandContext context)
private static int
lambda$buildRuleArguments$0(GameRule arg0, com.mojang.brigadier.context.CommandContext arg1)
method_76684(class_12279 arg0, com.mojang.brigadier.context.CommandContext arg1)
method_76684(GameRule arg0, com.mojang.brigadier.context.CommandContext context)