net.minecraft.server.commands

public class SpectateCommand

yi
net.minecraft.server.commands.SpectateCommand
net.minecraft.class_4694
net.minecraft.server.command.SpectateCommand
net.minecraft.command.impl.SpectateCommand
net.minecraft.server.v1_16_R2.CommandSpectate

Field summary

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

Method summary

Modifier and TypeMethod
public static void
a(com.mojang.brigadier.CommandDispatcher<db> arg0)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> arg0)
method_23653(com.mojang.brigadier.CommandDispatcher<class_2168> arg0)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
func_229826_a_(com.mojang.brigadier.CommandDispatcher<CommandSource> arg0)
private static int
a(db arg0, apx arg1, aah 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)
func_229829_a_(CommandSource arg0, Entity arg1, ServerPlayerEntity arg2)