net.minecraft.server.command

public class 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
field_13741
FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_FAILED_PEACEFUL
field_61081
FAILED_PEACEFUL_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
ERROR_DUPLICATE_UUID
field_26629
FAILED_UUID_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
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)
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)
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)
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)
private static Text
lambda$spawnEntity$4(Entity arg0)
method_52090(class_1297 arg0)
method_52090(Entity arg0)
private static Entity
lambda$createEntity$3(Vec3 arg0, Entity arg1)
method_48759(class_243 arg0, class_1297 arg1)
method_48759(Vec3d arg0, Entity entity)
private static int
lambda$register$2(com.mojang.brigadier.context.CommandContext arg0)
method_13692(com.mojang.brigadier.context.CommandContext arg0)
method_13692(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$1(com.mojang.brigadier.context.CommandContext arg0)
method_13689(com.mojang.brigadier.context.CommandContext arg0)
method_13689(com.mojang.brigadier.context.CommandContext context)
private static int
lambda$register$0(com.mojang.brigadier.context.CommandContext arg0)
method_13691(com.mojang.brigadier.context.CommandContext arg0)
method_13691(com.mojang.brigadier.context.CommandContext context)