Package net.minecraft.server.command
Class SummonCommand
java.lang.Object
net.minecraft.server.command.SummonCommand
public class SummonCommand extends Object
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
FAILED_EXCEPTION
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
field_26629
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
INVALID_POSITION_EXCEPTION
-
Constructor Summary
Constructors Constructor Description SummonCommand()
-
Method Summary
Modifier and Type Method Description private static int
execute(ServerCommandSource source, Identifier entity, Vec3d pos, CompoundTag nbt, boolean initialize)
static void
register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)
-
Field Details
-
FAILED_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType FAILED_EXCEPTION -
field_26629
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType field_26629 -
INVALID_POSITION_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_POSITION_EXCEPTION
-
-
Constructor Details
-
SummonCommand
public SummonCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher) -
execute
private static int execute(ServerCommandSource source, Identifier entity, Vec3d pos, CompoundTag nbt, boolean initialize) throws com.mojang.brigadier.exceptions.CommandSyntaxException- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-