Class CommandSetDimension
java.lang.Object
net.minecraftforge.server.command.CommandSetDimension
Deprecated.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType
Deprecated.private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType
Deprecated. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
canEntityTeleport
(Entity entity) Deprecated.private static int
execute
(com.mojang.brigadier.context.CommandContext<CommandSource> ctx, Collection<? extends Entity> entities, ServerWorld dim, BlockPos pos) Deprecated.(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,
?> register()
Deprecated.
-
Field Details
-
NO_ENTITIES
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_ENTITIESDeprecated. -
INVALID_DIMENSION
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_DIMENSIONDeprecated.
-
-
Constructor Details
-
CommandSetDimension
public CommandSetDimension()Deprecated.
-
-
Method Details
-
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
Deprecated.
-
/execute in <dim> run tp <targets>