Class SetSpawnCommand
java.lang.Object
net.minecraft.server.commands.SetSpawnCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final CommandResponseTracker.MessagesWithArg<ServerPlayer, LevelData.RespawnData> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic voidregister(com.mojang.brigadier.CommandDispatcher<CommandSourceStack> dispatcher) private static intsetSpawn(CommandSourceStack source, Collection<ServerPlayer> targets, BlockPos pos, Coordinates rotation)
-
Field Details
-
RESPONSE_SET
private static final CommandResponseTracker.MessagesWithArg<ServerPlayer, LevelData.RespawnData> RESPONSE_SET
-
-
Constructor Details
-
SetSpawnCommand
public SetSpawnCommand()
-
-
Method Details
-
register
-
setSpawn
private static int setSpawn(CommandSourceStack source, Collection<ServerPlayer> targets, BlockPos pos, Coordinates rotation) throws com.mojang.brigadier.exceptions.CommandSyntaxException - Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-