Uses of Record Class
net.minecraft.entity.player.PlayerPosition
Packages that use PlayerPosition
Package
Description
-
Uses of PlayerPosition in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type PlayerPositionModifier and TypeMethodDescriptionprivate static boolean
ClientPlayNetworkHandler.setPosition
(PlayerPosition pos, Set<PositionFlag> flags, Entity entity, boolean bool) -
Uses of PlayerPosition in net.minecraft.entity
Methods in net.minecraft.entity with parameters of type PlayerPositionModifier and TypeMethodDescriptionvoid
Entity.setPosition
(PlayerPosition pos, Set<PositionFlag> flags) -
Uses of PlayerPosition in net.minecraft.entity.player
Fields in net.minecraft.entity.player with type parameters of type PlayerPositionModifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, PlayerPosition> PlayerPosition.PACKET_CODEC
Methods in net.minecraft.entity.player that return PlayerPositionModifier and TypeMethodDescriptionstatic PlayerPosition
PlayerPosition.apply
(PlayerPosition currentPos, PlayerPosition newPos, Set<PositionFlag> flags) static PlayerPosition
PlayerPosition.fromEntity
(Entity entity) static PlayerPosition
PlayerPosition.fromEntityLerpTarget
(Entity entity) static PlayerPosition
PlayerPosition.fromTeleportTarget
(TeleportTarget teleportTarget) Methods in net.minecraft.entity.player with parameters of type PlayerPositionModifier and TypeMethodDescriptionstatic PlayerPosition
PlayerPosition.apply
(PlayerPosition currentPos, PlayerPosition newPos, Set<PositionFlag> flags) -
Uses of PlayerPosition in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as PlayerPositionModifier and TypeFieldDescriptionprivate final PlayerPosition
EntityPositionS2CPacket.change
The field for thechange
record component.private final PlayerPosition
PlayerPositionLookS2CPacket.change
The field for thechange
record component.private final PlayerPosition
EntityPositionSyncS2CPacket.values
The field for thevalues
record component.Methods in net.minecraft.network.packet.s2c.play that return PlayerPositionModifier and TypeMethodDescriptionEntityPositionS2CPacket.change()
Returns the value of thechange
record component.PlayerPositionLookS2CPacket.change()
Returns the value of thechange
record component.EntityPositionSyncS2CPacket.values()
Returns the value of thevalues
record component.Methods in net.minecraft.network.packet.s2c.play with parameters of type PlayerPositionModifier and TypeMethodDescriptionstatic EntityPositionS2CPacket
EntityPositionS2CPacket.create
(int entityId, PlayerPosition change, Set<PositionFlag> relatives, boolean onGround) static PlayerPositionLookS2CPacket
PlayerPositionLookS2CPacket.of
(int teleportId, PlayerPosition pos, Set<PositionFlag> flags) Constructors in net.minecraft.network.packet.s2c.play with parameters of type PlayerPositionModifierConstructorDescriptionEntityPositionS2CPacket
(int int2, PlayerPosition playerPosition, Set<PositionFlag> set, boolean bool) EntityPositionSyncS2CPacket
(int int2, PlayerPosition playerPosition, boolean bool) PlayerPositionLookS2CPacket
(int int2, PlayerPosition playerPosition, Set<PositionFlag> set) -
Uses of PlayerPosition in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type PlayerPositionModifier and TypeMethodDescriptionvoid
ServerPlayNetworkHandler.requestTeleport
(PlayerPosition pos, Set<PositionFlag> flags)