Class CommandSetDimension
- java.lang.Object
-
- net.minecraftforge.server.command.CommandSetDimension
-
@Deprecated public class CommandSetDimension extends java.lang.Object
Deprecated.For removal in 1.17, superseded by/execute in <dim> run tp <targets>
-
-
Field Summary
Fields Modifier and Type Field Description private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType
INVALID_DIMENSION
Deprecated.private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
NO_ENTITIES
Deprecated.
-
Constructor Summary
Constructors Constructor Description CommandSetDimension()
Deprecated.
-
Method Summary
All Methods Static Methods Concrete Methods Deprecated Methods Modifier and Type Method Description private static boolean
canEntityTeleport(Entity entity)
Deprecated.private static int
execute(com.mojang.brigadier.context.CommandContext<CommandSource> ctx, java.util.Collection<? extends Entity> entities, ServerWorld dim, BlockPos pos)
Deprecated.(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?>
register()
Deprecated.
-
-
-
Method Detail
-
register
static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> register()
Deprecated.
-
execute
private static int execute(com.mojang.brigadier.context.CommandContext<CommandSource> ctx, java.util.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.
-
-