public class CommandSetDimension
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static com.mojang.brigadier.exceptions.DynamicCommandExceptionType |
INVALID_DIMENSION |
private static com.mojang.brigadier.exceptions.SimpleCommandExceptionType |
NO_ENTITIES |
Constructor and Description |
---|
CommandSetDimension() |
Modifier and Type | Method and Description |
---|---|
private static boolean |
canEntityTeleport(Entity entity) |
private static int |
execute(CommandSource sender,
java.util.Collection<? extends Entity> entities,
DimensionType dim,
BlockPos pos) |
(package private) static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> |
register() |
private static final com.mojang.brigadier.exceptions.SimpleCommandExceptionType NO_ENTITIES
private static final com.mojang.brigadier.exceptions.DynamicCommandExceptionType INVALID_DIMENSION
static com.mojang.brigadier.builder.ArgumentBuilder<CommandSource,?> register()
private static int execute(CommandSource sender, java.util.Collection<? extends Entity> entities, DimensionType dim, BlockPos pos) throws com.mojang.brigadier.exceptions.CommandSyntaxException
com.mojang.brigadier.exceptions.CommandSyntaxException
private static boolean canEntityTeleport(Entity entity)