Class CommandSetDimension

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

@Deprecated public class CommandSetDimension extends Object
Deprecated.
For removal in 1.17, superseded by /execute in <dim> run tp <targets>
  • Field Details

    • NO_ENTITIES

      private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_ENTITIES
      Deprecated.
    • INVALID_DIMENSION

      private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_DIMENSION
      Deprecated.
  • Constructor Details

    • CommandSetDimension

      public CommandSetDimension()
      Deprecated.
  • Method Details

    • register

      static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> register()
      Deprecated.
    • execute

      private static int execute(com.mojang.brigadier.context.CommandContext<CommandSource> ctx, Collection<? extends Entity> entities, ServerWorld dim, BlockPos pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
      Deprecated.
      Throws:
      com.mojang.brigadier.exceptions.CommandSyntaxException
    • canEntityTeleport

      private static boolean canEntityTeleport(Entity entity)
      Deprecated.