Class CommandSetDimension
java.lang.Object
net.minecraftforge.server.command.CommandSetDimension
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Summary
Modifier and TypeFieldDescriptionprivate static com.mojang.brigadier.exceptions.SimpleCommandExceptionType
Deprecated, for removal: This API element is subject to removal in a future version. -
Constructor Summary
ConstructorDescriptionDeprecated, for removal: This API element is subject to removal in a future version. -
Method Summary
Modifier and TypeMethodDescriptionprivate static boolean
canEntityTeleport(Entity entity)
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,?>
register()
Deprecated, for removal: This API element is subject to removal in a future version.
-
Field Details
-
NO_ENTITIES
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_ENTITIESDeprecated, 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
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.CommandSyntaxExceptionDeprecated, for removal: This API element is subject to removal in a future version.- Throws:
com.mojang.brigadier.exceptions.CommandSyntaxException
-
canEntityTeleport
Deprecated, for removal: This API element is subject to removal in a future version.
-
/execute in <dim> run tp <targets>