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 boolean
ClientPlayNetworkHandler.setPosition
(PlayerPosition pos, Set<PositionFlag> flags, Entity entity, boolean bool) -
Uses of PositionFlag in net.minecraft.entity
Method parameters in net.minecraft.entity with type arguments of type PositionFlagModifier and TypeMethodDescriptionvoid
Entity.setPosition
(PlayerPosition pos, Set<PositionFlag> flags) boolean
Entity.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 double
PlayerPosition.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 PlayerPosition
PlayerPosition.apply
(PlayerPosition currentPos, PlayerPosition newPos, Set<PositionFlag> flags) private static double
PlayerPosition.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.DELTA
static final PacketCodec
<ByteBuf, Set<PositionFlag>> PositionFlag.PACKET_CODEC
private final Set
<PositionFlag> EntityPositionS2CPacket.relatives
The field for therelatives
record component.private final Set
<PositionFlag> PlayerPositionLookS2CPacket.relatives
The field for therelatives
record component.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 TypeMethodDescriptionstatic Set
<PositionFlag> PositionFlag.combine
(Set<PositionFlag>[] sets) static Set
<PositionFlag> PositionFlag.getFlags
(int mask) EntityPositionS2CPacket.relatives()
Returns the value of therelatives
record component.PlayerPositionLookS2CPacket.relatives()
Returns the value of therelatives
record component.Method parameters in net.minecraft.network.packet.s2c.play with type arguments of type PositionFlagModifier and TypeMethodDescriptionstatic EntityPositionS2CPacket
EntityPositionS2CPacket.create
(int entityId, PlayerPosition change, Set<PositionFlag> relatives, boolean onGround) static int
PositionFlag.getBitfield
(Set<PositionFlag> flags) static PlayerPositionLookS2CPacket
PlayerPositionLookS2CPacket.of
(int teleportId, PlayerPosition pos, Set<PositionFlag> flags) Constructor parameters in net.minecraft.network.packet.s2c.play with type arguments of type PositionFlagModifierConstructorDescriptionEntityPositionS2CPacket
(int int2, PlayerPosition playerPosition, Set<PositionFlag> set, boolean bool) PlayerPositionLookS2CPacket
(int int2, PlayerPosition playerPosition, 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 void
TeleportCommand.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 TypeMethodDescriptionvoid
ServerPlayNetworkHandler.requestTeleport
(PlayerPosition pos, Set<PositionFlag> flags) boolean
ServerPlayerEntity.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.relatives
The field for therelatives
record component.Methods in net.minecraft.world that return types with arguments of type PositionFlagModifier and TypeMethodDescriptionTeleportTarget.relatives()
Returns the value of therelatives
record 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)