Package net.minecraft.server.command
Class SpectateCommand
java.lang.Object
net.minecraft.server.command.SpectateCommand
- Mappings:
- Namespace - Name - named - net/minecraft/server/command/SpectateCommand- intermediary - net/minecraft/class_4694- official - aot
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intexecute(ServerCommandSource source, @Nullable Entity entity, ServerPlayerEntity player) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) 
- 
Field Details- 
SPECTATE_SELF_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType SPECTATE_SELF_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - SPECTATE_SELF_EXCEPTION- Lnet/minecraft/server/command/SpectateCommand;SPECTATE_SELF_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_21463- Lnet/minecraft/class_4694;field_21463:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - a- Laot;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
NOT_SPECTATOR_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType NOT_SPECTATOR_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - NOT_SPECTATOR_EXCEPTION- Lnet/minecraft/server/command/SpectateCommand;NOT_SPECTATOR_EXCEPTION:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;- intermediary - field_21464- Lnet/minecraft/class_4694;field_21464:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;- official - b- Laot;b:Lcom/mojang/brigadier/exceptions/DynamicCommandExceptionType;
 
 
- 
- 
Constructor Details- 
SpectateCommandpublic SpectateCommand()
 
- 
- 
Method Details- 
register- Mappings:
- Namespace - Name - Mixin selector - named - register- Lnet/minecraft/server/command/SpectateCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V- intermediary - method_23653- Lnet/minecraft/class_4694;method_23653(Lcom/mojang/brigadier/CommandDispatcher;)V- official - a- Laot;a(Lcom/mojang/brigadier/CommandDispatcher;)V
 
- 
executeprivate static int execute(ServerCommandSource source, @Nullable @Nullable Entity entity, ServerPlayerEntity player) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - execute- Lnet/minecraft/server/command/SpectateCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/entity/Entity;Lnet/minecraft/server/network/ServerPlayerEntity;)I- intermediary - method_23652- Lnet/minecraft/class_4694;method_23652(Lnet/minecraft/class_2168;Lnet/minecraft/class_1297;Lnet/minecraft/class_3222;)I- official - a- Laot;a(Lex;Lbum;Lare;)I
 
 
-