Uses of Record Class
net.minecraft.entity.EntityPosition
Packages that use EntityPosition
Package
Description
-
Uses of EntityPosition in net.minecraft.client.network
Methods in net.minecraft.client.network with parameters of type EntityPositionModifier and TypeMethodDescriptionprivate static booleanClientPlayNetworkHandler.setPosition(EntityPosition pos, Set<PositionFlag> flags, Entity entity, boolean bool) -
Uses of EntityPosition in net.minecraft.entity
Fields in net.minecraft.entity with type parameters of type EntityPositionModifier and TypeFieldDescriptionstatic final PacketCodec<PacketByteBuf, EntityPosition> EntityPosition.PACKET_CODECMethods in net.minecraft.entity that return EntityPositionModifier and TypeMethodDescriptionstatic EntityPositionEntityPosition.apply(EntityPosition currentPos, EntityPosition newPos, Set<PositionFlag> flags) static EntityPositionEntityPosition.fromEntity(Entity entity) static EntityPositionEntityPosition.fromTeleportTarget(TeleportTarget teleportTarget) EntityPosition.withRotation(float yaw, float pitch) Methods in net.minecraft.entity with parameters of type EntityPositionModifier and TypeMethodDescriptionstatic EntityPositionEntityPosition.apply(EntityPosition currentPos, EntityPosition newPos, Set<PositionFlag> flags) voidEntity.setPosition(EntityPosition pos, Set<PositionFlag> flags) voidEntity.setPosition(EntityPosition currentPos, EntityPosition newPos, Set<PositionFlag> flags) -
Uses of EntityPosition in net.minecraft.network.packet.s2c.play
Fields in net.minecraft.network.packet.s2c.play declared as EntityPositionModifier and TypeFieldDescriptionprivate final EntityPositionEntityPositionS2CPacket.changeThe field for thechangerecord component.private final EntityPositionPlayerPositionLookS2CPacket.changeThe field for thechangerecord component.private final EntityPositionEntityPositionSyncS2CPacket.valuesThe field for thevaluesrecord component.Methods in net.minecraft.network.packet.s2c.play that return EntityPositionModifier and TypeMethodDescriptionEntityPositionS2CPacket.change()Returns the value of thechangerecord component.PlayerPositionLookS2CPacket.change()Returns the value of thechangerecord component.EntityPositionSyncS2CPacket.values()Returns the value of thevaluesrecord component.Methods in net.minecraft.network.packet.s2c.play with parameters of type EntityPositionModifier and TypeMethodDescriptionstatic EntityPositionS2CPacketEntityPositionS2CPacket.create(int entityId, EntityPosition change, Set<PositionFlag> relatives, boolean onGround) static PlayerPositionLookS2CPacketPlayerPositionLookS2CPacket.of(int teleportId, EntityPosition pos, Set<PositionFlag> flags) Constructors in net.minecraft.network.packet.s2c.play with parameters of type EntityPositionModifierConstructorDescriptionEntityPositionS2CPacket(int int2, EntityPosition entityPosition, Set<PositionFlag> set, boolean bool) EntityPositionSyncS2CPacket(int int2, EntityPosition entityPosition, boolean bool) PlayerPositionLookS2CPacket(int int2, EntityPosition entityPosition, Set<PositionFlag> set) -
Uses of EntityPosition in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type EntityPositionModifier and TypeMethodDescriptionvoidServerPlayNetworkHandler.requestTeleport(EntityPosition pos, Set<PositionFlag> flags)