Uses of Enum Class
net.minecraft.network.packet.s2c.play.PositionFlag
Package
Description
-
Uses of PositionFlag in net.minecraft.entity
Modifier and TypeMethodDescriptionboolean
Entity.teleport
(ServerWorld world, double destX, double destY, double destZ, Set<PositionFlag> flags, float yaw, float pitch) Teleports the entity to the given position. -
Uses of PositionFlag in net.minecraft.network.packet.s2c.play
Modifier and TypeFieldDescriptionprivate final Set<PositionFlag>
PlayerPositionLookS2CPacket.flags
static final Set<PositionFlag>
PositionFlag.ROT
static final Set<PositionFlag>
PositionFlag.VALUES
Modifier and TypeMethodDescriptionstatic PositionFlag
Returns the enum constant of this class with the specified name.static PositionFlag[]
PositionFlag.values()
Returns an array containing the constants of this enum class, in the order they are declared.Modifier and TypeMethodDescriptionPlayerPositionLookS2CPacket.getFlags()
static Set<PositionFlag>
PositionFlag.getFlags
(int mask) ModifierConstructorDescriptionPlayerPositionLookS2CPacket
(double x, double y, double z, float yaw, float pitch, Set<PositionFlag> flags, int teleportId) -
Uses of PositionFlag in net.minecraft.server.command
Modifier and TypeMethodDescriptionprivate static void
TeleportCommand.teleport
(ServerCommandSource source, Entity target, ServerWorld world, double x, double y, double z, Set<PositionFlag> movementFlags, float yaw, float pitch, @Nullable TeleportCommand.LookTarget facingLocation) -
Uses of PositionFlag in net.minecraft.server.network
Modifier and TypeMethodDescriptionvoid
ServerPlayNetworkHandler.requestTeleport
(double x, double y, double z, float yaw, float pitch, Set<PositionFlag> set) boolean
ServerPlayerEntity.teleport
(ServerWorld world, double destX, double destY, double destZ, Set<PositionFlag> flags, float yaw, float pitch) Teleports the entity to the given position.