net.minecraft.server.command

public class SpectateCommand

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

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_SELF
field_21463
SPECTATE_SELF_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_NOT_SPECTATOR
field_21464
NOT_SPECTATOR_EXCEPTION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
ERROR_CANNOT_SPECTATE
field_62502
CANNOT_SPECTATE_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher)
method_23653(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
private static int
spectate(CommandSourceStack source, Entity target, ServerPlayer player)
method_23652(class_2168 arg0, class_1297 arg1, class_3222 arg2)
execute(ServerCommandSource source, Entity entity, ServerPlayerEntity player)
private static Text
lambda$spectate$6()
method_52082()
method_52082()
private static Text
lambda$spectate$5(Entity arg0)
method_52083(class_1297 arg0)
method_52083(Entity arg0)
private static int
lambda$register$4(com.mojang.brigadier.context.CommandContext arg0)
method_23654(com.mojang.brigadier.context.CommandContext arg0)
method_23654(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$3(com.mojang.brigadier.context.CommandContext arg0)
method_23656(com.mojang.brigadier.context.CommandContext arg0)
method_23656(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$2(com.mojang.brigadier.context.CommandContext arg0)
method_23657(com.mojang.brigadier.context.CommandContext arg0)
method_23657(com.mojang.brigadier.context.CommandContext context)
private static com.mojang.brigadier.Message
lambda$static$1(Object arg0)
method_74072(Object arg0)
method_74072(Object entityName)
private static com.mojang.brigadier.Message
lambda$static$0(Object arg0)
method_23655(Object arg0)
method_23655(Object playerName)