Uses of Enum Class
net.minecraft.network.packet.s2c.play.PositionFlag
Packages that use PositionFlag
Package
Description
-
Uses of PositionFlag in net.minecraft.client.network
Method parameters in net.minecraft.client.network with type arguments of type PositionFlagModifier and TypeMethodDescriptionprivate static booleanClientPlayNetworkHandler.setPosition(EntityPosition pos, Set<PositionFlag> flags, Entity entity, boolean bool) -
Uses of PositionFlag in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type PositionFlagModifier and TypeMethodDescriptionprivate static doubleEntityPosition.resolve(double delta, double value, Set<PositionFlag> flags, PositionFlag deltaFlag) Method parameters in net.minecraft.entity with type arguments of type PositionFlagModifier and TypeMethodDescriptionstatic EntityPositionEntityPosition.apply(EntityPosition currentPos, EntityPosition newPos, Set<PositionFlag> flags) private static doubleEntityPosition.resolve(double delta, double value, Set<PositionFlag> flags, PositionFlag deltaFlag) voidEntity.setPosition(EntityPosition pos, Set<PositionFlag> flags) voidEntity.setPosition(EntityPosition currentPos, EntityPosition newPos, Set<PositionFlag> flags) booleanEntity.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.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play with type parameters of type PositionFlagModifier and TypeFieldDescriptionstatic final Set<PositionFlag> PositionFlag.DELTAstatic final PacketCodec<ByteBuf, Set<PositionFlag>> PositionFlag.PACKET_CODECprivate final Set<PositionFlag> EntityPositionS2CPacket.relativesThe field for therelativesrecord component.private final Set<PositionFlag> PlayerPositionLookS2CPacket.relativesThe field for therelativesrecord component.static 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) static Set<PositionFlag> PositionFlag.getFlags(int mask) static Set<PositionFlag> PositionFlag.ofDeltaPos(boolean x, boolean y, boolean z) static Set<PositionFlag> PositionFlag.ofPos(boolean x, boolean y, boolean z) static Set<PositionFlag> PositionFlag.ofRot(boolean yRot, boolean xRot) EntityPositionS2CPacket.relatives()Returns the value of therelativesrecord component.PlayerPositionLookS2CPacket.relatives()Returns the value of therelativesrecord component.Method parameters in net.minecraft.network.packet.s2c.play with type arguments of type PositionFlagModifier and TypeMethodDescriptionstatic EntityPositionS2CPacketEntityPositionS2CPacket.create(int entityId, EntityPosition change, Set<PositionFlag> relatives, boolean onGround) static intPositionFlag.getBitfield(Set<PositionFlag> flags) static PlayerPositionLookS2CPacketPlayerPositionLookS2CPacket.of(int teleportId, EntityPosition pos, Set<PositionFlag> flags) Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type PositionFlagModifierConstructorDescriptionEntityPositionS2CPacket(int int2, EntityPosition entityPosition, Set<PositionFlag> set, boolean bool) PlayerPositionLookS2CPacket(int int2, EntityPosition entityPosition, 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, boolean sameDimension) 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 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(EntityPosition 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, boolean bool2, Set<PositionFlag> set, TeleportTarget.PostDimensionTransition postDimensionTransition) TeleportTarget(ServerWorld world, Vec3d pos, Vec3d velocity, float yaw, float pitch, Set<PositionFlag> flags, TeleportTarget.PostDimensionTransition postDimensionTransition)