Package net.minecraft.server.command
Class SummonCommand
java.lang.Object
net.minecraft.server.command.SummonCommand
- Mappings:
- Namespace - Name - named - net/minecraft/server/command/SummonCommand- intermediary - net/minecraft/class_3138- official - aox
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate static intexecute(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) static voidregister(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) static Entitysummon(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) 
- 
Field Details- 
FAILED_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - FAILED_EXCEPTION- Lnet/minecraft/server/command/SummonCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_13741- Lnet/minecraft/class_3138;field_13741:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - a- Laox;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
FAILED_UUID_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_UUID_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - FAILED_UUID_EXCEPTION- Lnet/minecraft/server/command/SummonCommand;FAILED_UUID_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_26629- Lnet/minecraft/class_3138;field_26629:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - b- Laox;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
- 
INVALID_POSITION_EXCEPTIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_POSITION_EXCEPTION- Mappings:
- Namespace - Name - Mixin selector - named - INVALID_POSITION_EXCEPTION- Lnet/minecraft/server/command/SummonCommand;INVALID_POSITION_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- intermediary - field_22254- Lnet/minecraft/class_3138;field_22254:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;- official - c- Laox;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
 
 
- 
- 
Constructor Details- 
SummonCommandpublic SummonCommand()
 
- 
- 
Method Details- 
registerpublic static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess) - Mappings:
- Namespace - Name - Mixin selector - named - register- Lnet/minecraft/server/command/SummonCommand;register(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/command/CommandRegistryAccess;)V- intermediary - method_13690- Lnet/minecraft/class_3138;method_13690(Lcom/mojang/brigadier/CommandDispatcher;Lnet/minecraft/class_7157;)V- official - a- Laox;a(Lcom/mojang/brigadier/CommandDispatcher;Let;)V
 
- 
summonpublic static Entity summon(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - summon- Lnet/minecraft/server/command/SummonCommand;summon(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/registry/entry/RegistryEntry$Reference;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/nbt/NbtCompound;Z)Lnet/minecraft/entity/Entity;- intermediary - method_48758- Lnet/minecraft/class_3138;method_48758(Lnet/minecraft/class_2168;Lnet/minecraft/class_6880$class_6883;Lnet/minecraft/class_243;Lnet/minecraft/class_2487;Z)Lnet/minecraft/class_1297;- official - a- Laox;a(Lex;Ljr$c;Lfbb;Ltq;Z)Lbum;
 
- 
executeprivate static int execute(ServerCommandSource source, RegistryEntry.Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
- Mappings:
- Namespace - Name - Mixin selector - named - execute- Lnet/minecraft/server/command/SummonCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/registry/entry/RegistryEntry$Reference;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/nbt/NbtCompound;Z)I- intermediary - method_13694- Lnet/minecraft/class_3138;method_13694(Lnet/minecraft/class_2168;Lnet/minecraft/class_6880$class_6883;Lnet/minecraft/class_243;Lnet/minecraft/class_2487;Z)I- official - b- Laox;b(Lex;Ljr$c;Lfbb;Ltq;Z)I
 
 
-