net.minecraft.server.commands

public class SpectateCommand

apx
net.minecraft.server.commands.SpectateCommand
net.minecraft.class_4694
net.minecraft.server.command.SpectateCommand
net.minecraft.server.commands.CommandSpectate

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
a
ERROR_SELF
field_21463
SPECTATE_SELF_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_NOT_SPECTATOR
field_21464
NOT_SPECTATOR_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<ew> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_23653(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
a(ew arg0, bvk arg1, asi arg2)
spectate(CommandSourceStack arg0, Entity arg1, ServerPlayer arg2)
method_23652(class_2168 arg0, class_1297 arg1, class_3222 arg2)
execute(ServerCommandSource source, Entity entity, ServerPlayerEntity player)