Uses of Record Class
net.minecraft.world.entity.PositionMoveRotation
Packages that use PositionMoveRotation
Package
Description
-
Uses of PositionMoveRotation in net.minecraft.client.multiplayer
Methods in net.minecraft.client.multiplayer with parameters of type PositionMoveRotationModifier and TypeMethodDescriptionprivate static booleanClientPacketListener.setValuesFromPositionPacket(PositionMoveRotation pPositionMoveRotation, Set<Relative> pRelatives, Entity pEntity, boolean pLerp) -
Uses of PositionMoveRotation in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game declared as PositionMoveRotationModifier and TypeFieldDescriptionprivate final PositionMoveRotationClientboundPlayerPositionPacket.changeThe field for thechangerecord component.private final PositionMoveRotationClientboundTeleportEntityPacket.changeThe field for thechangerecord component.private final PositionMoveRotationClientboundEntityPositionSyncPacket.valuesThe field for thevaluesrecord component.Methods in net.minecraft.network.protocol.game that return PositionMoveRotationModifier and TypeMethodDescriptionClientboundPlayerPositionPacket.change()Returns the value of thechangerecord component.ClientboundTeleportEntityPacket.change()Returns the value of thechangerecord component.ClientboundEntityPositionSyncPacket.values()Returns the value of thevaluesrecord component.Methods in net.minecraft.network.protocol.game with parameters of type PositionMoveRotationModifier and TypeMethodDescriptionClientboundPlayerPositionPacket.of(int pId, PositionMoveRotation pPositionMoveRotation, Set<Relative> pRelativeArguments) ClientboundTeleportEntityPacket.teleport(int pId, PositionMoveRotation pChange, Set<Relative> pRelatives, boolean pOnGround) Constructors in net.minecraft.network.protocol.game with parameters of type PositionMoveRotationModifierConstructorDescriptionClientboundEntityPositionSyncPacket(int id, PositionMoveRotation values, boolean onGround) Creates an instance of aClientboundEntityPositionSyncPacketrecord class.ClientboundPlayerPositionPacket(int id, PositionMoveRotation change, Set<Relative> relatives) Creates an instance of aClientboundPlayerPositionPacketrecord class.ClientboundTeleportEntityPacket(int id, PositionMoveRotation change, Set<Relative> relatives, boolean onGround) Creates an instance of aClientboundTeleportEntityPacketrecord class. -
Uses of PositionMoveRotation in net.minecraft.server.network
Methods in net.minecraft.server.network with parameters of type PositionMoveRotationModifier and TypeMethodDescriptionvoidServerGamePacketListenerImpl.teleport(PositionMoveRotation pPosMoveRotation, Set<Relative> pRelatives) -
Uses of PositionMoveRotation in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type PositionMoveRotationModifier and TypeFieldDescriptionstatic final StreamCodec<FriendlyByteBuf, PositionMoveRotation> PositionMoveRotation.STREAM_CODECMethods in net.minecraft.world.entity that return PositionMoveRotationModifier and TypeMethodDescriptionstatic PositionMoveRotationPositionMoveRotation.calculateAbsolute(PositionMoveRotation pCurrent, PositionMoveRotation pAfter, Set<Relative> pRelatives) static PositionMoveRotationstatic PositionMoveRotationPositionMoveRotation.of(TeleportTransition pTeleportTransition) Methods in net.minecraft.world.entity with parameters of type PositionMoveRotationModifier and TypeMethodDescriptionstatic PositionMoveRotationPositionMoveRotation.calculateAbsolute(PositionMoveRotation pCurrent, PositionMoveRotation pAfter, Set<Relative> pRelatives) voidEntity.teleportSetPosition(PositionMoveRotation pPositionMovementRotation, Set<Relative> pRelatives) -
Uses of PositionMoveRotation in net.neoforged.neoforge.common.util
Methods in net.neoforged.neoforge.common.util with parameters of type PositionMoveRotationModifier and TypeMethodDescriptionvoidFakePlayer.FakePlayerNetHandler.teleport(PositionMoveRotation posMoveRot, Set<Relative> relatives)