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.SimpleCommandExceptionTypeFAILED_EXCEPTIONprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypefield_26629private static com.mojang.brigadier.exceptions.SimpleCommandExceptionTypeINVALID_POSITION_EXCEPTION -
Constructor Summary
Constructors Constructor Description SummonCommand() -
Method Summary
Modifier and Type Method Description private static intexecute(ServerCommandSource source, Identifier entity, Vec3d pos, CompoundTag nbt, boolean initialize)static voidregister(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
-