Uses of Record Class
net.minecraft.entity.player.PlayerPosition
Package
Description
-
Uses of PlayerPosition in net.minecraft.client.network
Modifier and TypeMethodDescriptionprivate static boolean
ClientPlayNetworkHandler.setPosition
(PlayerPosition pos, Set<PositionFlag> flags, Entity entity, boolean bool) -
Uses of PlayerPosition in net.minecraft.entity
Modifier and TypeMethodDescriptionvoid
Entity.setPosition
(PlayerPosition pos, Set<PositionFlag> flags) -
Uses of PlayerPosition in net.minecraft.entity.player
Modifier and TypeFieldDescriptionstatic final PacketCodec
<PacketByteBuf, PlayerPosition> PlayerPosition.PACKET_CODEC
Modifier 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) Modifier and TypeMethodDescriptionstatic PlayerPosition
PlayerPosition.apply
(PlayerPosition currentPos, PlayerPosition newPos, Set<PositionFlag> flags) -
Uses of PlayerPosition in net.minecraft.network.packet.s2c.play
Modifier 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.Modifier 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.Modifier 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) ModifierConstructorDescriptionEntityPositionS2CPacket
(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
Modifier and TypeMethodDescriptionvoid
ServerPlayNetworkHandler.requestTeleport
(PlayerPosition pos, Set<PositionFlag> flags)