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 TypeMethodDescriptionbooleanEntity.teleport(ServerWorld world, double destX, double destY, double destZ, Set<PositionFlag> flags, float yaw, float pitch, boolean resetCamera) Teleports the entity to the given position. -
Uses of PositionFlag in net.minecraft.entity.player
Methods in net.minecraft.entity.player with parameters of type PositionFlagModifier and TypeMethodDescriptionprivate static doublePlayerPosition.resolve(double delta, double value, Set<PositionFlag> flags, PositionFlag deltaFlag) Method parameters in net.minecraft.entity.player with type arguments of type PositionFlagModifier and TypeMethodDescriptionstatic PlayerPositionPlayerPosition.apply(PlayerPosition currentPos, PlayerPosition newPos, Set<PositionFlag> flags) private static doublePlayerPosition.resolve(double delta, double value, Set<PositionFlag> flags, PositionFlag deltaFlag) -
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 TypeFieldDescriptionstatic final Set<PositionFlag> PositionFlag.DELTAprivate final Set<PositionFlag> PlayerPositionLookS2CPacket.flagsThe field for theflagsrecord component.static final PacketCodec<ByteBuf, Set<PositionFlag>> PositionFlag.PACKET_CODECstatic final Set<PositionFlag> PositionFlag.ROTstatic final Set<PositionFlag> PositionFlag.VALUESMethods in net.minecraft.network.packet.s2c.play that return PositionFlagModifier and TypeMethodDescriptionstatic PositionFlagReturns 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 TypeMethodDescriptionstatic Set<PositionFlag> PositionFlag.combine(Set<PositionFlag>[] sets) PlayerPositionLookS2CPacket.flags()Returns the value of theflagsrecord component.static Set<PositionFlag> PositionFlag.getFlags(int mask) Method parameters in net.minecraft.network.packet.s2c.play with type arguments of type PositionFlagModifier and TypeMethodDescriptionstatic intPositionFlag.getBitfield(Set<PositionFlag> flags) static PlayerPositionLookS2CPacketPlayerPositionLookS2CPacket.of(int teleportId, PlayerPosition pos, Set<PositionFlag> flags) Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type PositionFlagModifierConstructorDescriptionPlayerPositionLookS2CPacket(int int2, Vec3d vec3d, Vec3d vec3d2, float float2, float float3, Set<PositionFlag> set) -
Uses of PositionFlag in net.minecraft.server.command
Methods in net.minecraft.server.command that return types with arguments of type PositionFlagModifier and TypeMethodDescriptionprivate static Set<PositionFlag> TeleportCommand.getFlags(PosArgument pos, @Nullable PosArgument rotation) Method parameters in net.minecraft.server.command with type arguments of type PositionFlagModifier and TypeMethodDescriptionprivate static voidTeleportCommand.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 TypeMethodDescriptionvoidServerPlayNetworkHandler.requestTeleport(PlayerPosition pos, Set<PositionFlag> flags) booleanServerPlayerEntity.teleport(ServerWorld world, double destX, double destY, double destZ, Set<PositionFlag> flags, float yaw, float pitch, boolean resetCamera) Teleports the entity to the given position. -
Uses of PositionFlag in net.minecraft.world
Fields in net.minecraft.world with type parameters of type PositionFlagModifier and TypeFieldDescriptionprivate final Set<PositionFlag> TeleportTarget.relativesThe field for therelativesrecord component.Methods in net.minecraft.world that return types with arguments of type PositionFlagModifier and TypeMethodDescriptionTeleportTarget.relatives()Returns the value of therelativesrecord component.Constructor parameters in net.minecraft.world with type arguments of type PositionFlagModifierConstructorDescriptionTeleportTarget(ServerWorld serverWorld, Vec3d vec3d, Vec3d vec3d2, float float2, float float3, boolean bool, Set<PositionFlag> set, TeleportTarget.PostDimensionTransition postDimensionTransition) TeleportTarget(ServerWorld world, Vec3d pos, Vec3d velocity, float yaw, float pitch, Set<PositionFlag> flags, TeleportTarget.PostDimensionTransition postDimensionTransition)