Class CommandSetDimension

java.lang.Object
net.minecraftforge.server.command.CommandSetDimension

@Deprecated(forRemoval=true, since="1.17.1") public class CommandSetDimension extends Object
Deprecated, for removal: This API element is subject to removal in a future version.
For removal in 1.18, superseded by /execute in <dim> run tp <targets>
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Constructor Summary

    Constructors
    Constructor
    Description
    Deprecated, for removal: This API element is subject to removal in a future version.
     
  • Method Summary

    Modifier and Type
    Method
    Description
    private static boolean
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    private static int
    execute​(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, Collection<? extends Entity> entities, ServerLevel dim, BlockPos pos)
    Deprecated, for removal: This API element is subject to removal in a future version.
     
    (package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,​?>
    Deprecated, for removal: This API element is subject to removal in a future version.
     

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • NO_ENTITIES

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_ENTITIES
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Constructor Details

    • CommandSetDimension

      public CommandSetDimension()
      Deprecated, for removal: This API element is subject to removal in a future version.
  • Method Details

    • register

      static com.mojang.brigadier.builder.ArgumentBuilder<CommandSourceStack,​?> register()
      Deprecated, for removal: This API element is subject to removal in a future version.
    • execute

      private static int execute(com.mojang.brigadier.context.CommandContext<CommandSourceStack> ctx, Collection<? extends Entity> entities, ServerLevel dim, BlockPos pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Deprecated, for removal: This API element is subject to removal in a future version.
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • canEntityTeleport

      private static boolean canEntityTeleport(Entity entity)
      Deprecated, for removal: This API element is subject to removal in a future version.