net.minecraft.server.commands

public class SpectateCommand

abz
net.minecraft.server.commands.SpectateCommand
net.minecraft.class_4694
net.minecraft.server.command.SpectateCommand
net.minecraft.src.C_5375_
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
f_138674_
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
b
ERROR_NOT_SPECTATOR
field_21464
NOT_SPECTATOR_EXCEPTION
f_138675_

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<dm> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_23653(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
m_138677_(com.mojang.brigadier.CommandDispatcher<C_2969_> p_138678_)
private static int
a(dm arg0, axk arg1, adx 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)
m_138683_(C_2969_ p_138684_, C_507_ p_138685_, C_13_ p_138686_)