Uses of Enum Class
net.minecraft.network.packet.s2c.play.PositionFlag
Packages that use PositionFlag
Package
Description
-
Uses of PositionFlag in net.minecraft.entity
Method parameters in net.minecraft.entity with type arguments of type PositionFlagModifier 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
Fields in net.minecraft.network.packet.s2c.play with type parameters of type PositionFlagModifier and TypeFieldDescriptionprivate final Set
<PositionFlag> PlayerPositionLookS2CPacket.flags
static final Set
<PositionFlag> PositionFlag.ROT
static final Set
<PositionFlag> PositionFlag.VALUES
Methods in net.minecraft.network.packet.s2c.play that return PositionFlagModifier 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.Methods in net.minecraft.network.packet.s2c.play that return types with arguments of type PositionFlagModifier and TypeMethodDescriptionPlayerPositionLookS2CPacket.getFlags()
static Set
<PositionFlag> PositionFlag.getFlags
(int mask) Method parameters in net.minecraft.network.packet.s2c.play with type arguments of type PositionFlagConstructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type PositionFlagModifierConstructorDescriptionPlayerPositionLookS2CPacket
(double x, double y, double z, float yaw, float pitch, Set<PositionFlag> flags, int teleportId) -
Uses of PositionFlag in net.minecraft.server.command
Method parameters in net.minecraft.server.command with type arguments of type PositionFlagModifier 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
Method parameters in net.minecraft.server.network with type arguments of type PositionFlagModifier and TypeMethodDescriptionvoid
ServerPlayNetworkHandler.requestTeleport
(double x, double y, double z, float yaw, float pitch, Set<PositionFlag> flags) 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.