Package net.minecraft.server.command
Class SummonCommand
java.lang.Object
net.minecraft.server.command.SummonCommand
public class SummonCommand extends Object
- Mappings:
Namespace Name official zcintermediary net/minecraft/class_3138named net/minecraft/server/command/SummonCommand
-
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- Mappings:
Namespace Name Mixin selector official aLzc;a:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_13741Lnet/minecraft/class_3138;field_13741:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named FAILED_EXCEPTIONLnet/minecraft/server/command/SummonCommand;FAILED_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
field_26629
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType field_26629- Mappings:
Namespace Name Mixin selector official bLzc;b:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_26629Lnet/minecraft/class_3138;field_26629:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named field_26629Lnet/minecraft/server/command/SummonCommand;field_26629:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
INVALID_POSITION_EXCEPTION
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType INVALID_POSITION_EXCEPTION- Mappings:
Namespace Name Mixin selector official cLzc;c:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;intermediary field_22254Lnet/minecraft/class_3138;field_22254:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;named INVALID_POSITION_EXCEPTIONLnet/minecraft/server/command/SummonCommand;INVALID_POSITION_EXCEPTION:Lcom/mojang/brigadier/exceptions/SimpleCommandExceptionType;
-
-
Constructor Details
-
SummonCommand
public SummonCommand()
-
-
Method Details
-
register
public static void register(com.mojang.brigadier.CommandDispatcher<ServerCommandSource> dispatcher)- Mappings:
Namespace Name Mixin selector official aLzc;a(Lcom/mojang/brigadier/CommandDispatcher;)Vintermediary method_13690Lnet/minecraft/class_3138;method_13690(Lcom/mojang/brigadier/CommandDispatcher;)Vnamed registerLnet/minecraft/server/command/SummonCommand;register(Lcom/mojang/brigadier/CommandDispatcher;)V
-
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- Mappings:
Namespace Name Mixin selector official aLzc;a(Ldb;Lwb;Ldiu;Lmq;Z)Iintermediary method_13694Lnet/minecraft/class_3138;method_13694(Lnet/minecraft/class_2168;Lnet/minecraft/class_2960;Lnet/minecraft/class_243;Lnet/minecraft/class_2487;Z)Inamed executeLnet/minecraft/server/command/SummonCommand;execute(Lnet/minecraft/server/command/ServerCommandSource;Lnet/minecraft/util/Identifier;Lnet/minecraft/util/math/Vec3d;Lnet/minecraft/nbt/CompoundTag;Z)I
-