Package net.minecraft.server.commands
Class SummonCommand
java.lang.Object
net.minecraft.server.commands.SummonCommand
- 
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 TypeMethodDescriptionstatic EntitycreateEntity(CommandSourceStack p_270582_, Holder.Reference<EntityType<?>> p_270277_, Vec3 p_270366_, CompoundTag p_270197_, boolean p_270947_) static voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_250343_, CommandBuildContext p_250122_) private static intspawnEntity(CommandSourceStack p_249752_, Holder.Reference<EntityType<?>> p_251948_, Vec3 p_251429_, CompoundTag p_250568_, boolean p_250229_) 
- 
Field Details- 
ERROR_FAILEDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_FAILED
- 
ERROR_DUPLICATE_UUIDprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType ERROR_DUPLICATE_UUID
- 
INVALID_POSITIONprivate static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_POSITION
 
- 
- 
Constructor Details- 
SummonCommandpublic SummonCommand()
 
- 
- 
Method Details- 
registerpublic static void register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> p_250343_, CommandBuildContext p_250122_) 
- 
createEntitypublic static Entity createEntity(CommandSourceStack p_270582_, Holder.Reference<EntityType<?>> p_270277_, Vec3 p_270366_, CompoundTag p_270197_, boolean p_270947_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
- 
spawnEntityprivate static int spawnEntity(CommandSourceStack p_249752_, Holder.Reference<EntityType<?>> p_251948_, Vec3 p_251429_, CompoundTag p_250568_, boolean p_250229_) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
- com.mojang.brigadier.exceptions.CommandSyntaxException
 
 
-