net.minecraft.server.command

public class SummonCommand

net.minecraft.server.commands.SummonCommand
net.minecraft.server.commands.SummonCommand
net.minecraft.class_3138
net.minecraft.server.command.SummonCommand

Field summary

Modifier and TypeField
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_FAILED
ERROR_FAILED
field_13741
FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_FAILED_PEACEFUL
ERROR_FAILED_PEACEFUL
field_61081
FAILED_PEACEFUL_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_DUPLICATE_UUID
ERROR_DUPLICATE_UUID
field_26629
FAILED_UUID_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
INVALID_POSITION
INVALID_POSITION
field_22254
INVALID_POSITION_EXCEPTION

Constructor summary

ModifierConstructor
public ()

Method summary

Modifier and TypeMethod
public static void
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context)
register(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher, CommandBuildContext context)
method_13690(com.mojang.brigadier.CommandDispatcher<class_2168> arg0, class_7157 arg1)
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher, CommandRegistryAccess registryAccess)
public static Entity
createEntity(CommandSourceStack source, Holder$Reference<EntityType<?>> type, Vec3 pos, CompoundTag nbt, boolean finalize)
createEntity(CommandSourceStack source, Holder$Reference<EntityType<?>> type, Vec3 pos, CompoundTag nbt, boolean finalize)
method_48758(class_2168 arg0, class_6880$class_6883<class_1299<?>> arg1, class_243 arg2, class_2487 arg3, boolean arg4)
summon(ServerCommandSource source, RegistryEntry$Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize)
private static int
spawnEntity(CommandSourceStack source, Holder$Reference<EntityType<?>> type, Vec3 pos, CompoundTag nbt, boolean finalize)
spawnEntity(CommandSourceStack source, Holder$Reference<EntityType<?>> type, Vec3 pos, CompoundTag nbt, boolean finalize)
method_13694(class_2168 arg0, class_6880$class_6883<class_1299<?>> arg1, class_243 arg2, class_2487 arg3, boolean arg4)
execute(ServerCommandSource source, RegistryEntry$Reference<EntityType<?>> entityType, Vec3d pos, NbtCompound nbt, boolean initialize)