Uses of Enum Class
net.minecraft.world.entity.Relative
Packages that use Relative
Package
Description
-
Uses of Relative in net.minecraft.client.multiplayer
Method parameters in net.minecraft.client.multiplayer with type arguments of type RelativeModifier and TypeMethodDescriptionprivate static boolean
ClientPacketListener.setValuesFromPositionPacket
(PositionMoveRotation pPositionMoveRotation, Set<Relative> pRelatives, Entity pEntity, boolean pLerp) -
Uses of Relative in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type RelativeModifier and TypeFieldDescriptionClientboundPlayerPositionPacket.relatives
The field for therelatives
record component.ClientboundTeleportEntityPacket.relatives
The field for therelatives
record component.Methods in net.minecraft.network.protocol.game that return types with arguments of type RelativeModifier and TypeMethodDescriptionClientboundPlayerPositionPacket.relatives()
Returns the value of therelatives
record component.ClientboundTeleportEntityPacket.relatives()
Returns the value of therelatives
record component.Method parameters in net.minecraft.network.protocol.game with type arguments of type RelativeModifier and TypeMethodDescriptionClientboundPlayerPositionPacket.of
(int pId, PositionMoveRotation pPositionMoveRotation, Set<Relative> pRelativeArguments) ClientboundTeleportEntityPacket.teleport
(int pId, PositionMoveRotation pChange, Set<Relative> pRelatives, boolean pOnGround) Constructor parameters in net.minecraft.network.protocol.game with type arguments of type RelativeModifierConstructorDescriptionClientboundPlayerPositionPacket
(int id, PositionMoveRotation change, Set<Relative> relatives) Creates an instance of aClientboundPlayerPositionPacket
record class.ClientboundTeleportEntityPacket
(int id, PositionMoveRotation change, Set<Relative> relatives, boolean onGround) Creates an instance of aClientboundTeleportEntityPacket
record class. -
Uses of Relative in net.minecraft.server.commands
Methods in net.minecraft.server.commands that return types with arguments of type RelativeModifier and TypeMethodDescriptionTeleportCommand.getRelatives
(Coordinates pPosition, Coordinates pRotation, boolean pAbsolute) Method parameters in net.minecraft.server.commands with type arguments of type RelativeModifier and TypeMethodDescriptionprivate static void
TeleportCommand.performTeleport
(CommandSourceStack pSource, Entity pTarget, ServerLevel pLevel, double pX, double pY, double pZ, Set<Relative> pRelatives, float pYRot, float pXRot, LookAt pLookAt) -
Uses of Relative in net.minecraft.server.level
Method parameters in net.minecraft.server.level with type arguments of type RelativeModifier and TypeMethodDescriptionboolean
ServerPlayer.teleportTo
(ServerLevel pLevel, double pX, double pY, double pZ, Set<Relative> pRelativeMovements, float pYaw, float pPitch, boolean pSetCamera) -
Uses of Relative in net.minecraft.server.network
Method parameters in net.minecraft.server.network with type arguments of type RelativeModifier and TypeMethodDescriptionvoid
ServerGamePacketListenerImpl.teleport
(PositionMoveRotation pPosMoveRotation, Set<Relative> pRelatives) -
Uses of Relative in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type RelativeModifier and TypeFieldDescriptionRelative.ALL
Relative.DELTA
Relative.ROTATION
static final StreamCodec
<io.netty.buffer.ByteBuf, Set<Relative>> Relative.SET_STREAM_CODEC
Methods in net.minecraft.world.entity that return RelativeModifier and TypeMethodDescriptionstatic Relative
Returns the enum constant of this class with the specified name.static Relative[]
Relative.values()
Returns an array containing the constants of this enum class, in the order they are declared.Methods in net.minecraft.world.entity that return types with arguments of type RelativeMethods in net.minecraft.world.entity with parameters of type RelativeModifier and TypeMethodDescriptionprivate static double
PositionMoveRotation.calculateDelta
(double pPosition, double pDeltaMovement, Set<Relative> pRelatives, Relative pDeltaRelative) Method parameters in net.minecraft.world.entity with type arguments of type RelativeModifier and TypeMethodDescriptionstatic PositionMoveRotation
PositionMoveRotation.calculateAbsolute
(PositionMoveRotation pCurrent, PositionMoveRotation pAfter, Set<Relative> pRelatives) private static double
PositionMoveRotation.calculateDelta
(double pPosition, double pDeltaMovement, Set<Relative> pRelatives, Relative pDeltaRelative) static int
void
Entity.teleportSetPosition
(PositionMoveRotation pPositionMovementRotation, Set<Relative> pRelatives) boolean
Entity.teleportTo
(ServerLevel pLevel, double pX, double pY, double pZ, Set<Relative> pRelativeMovements, float pYaw, float pPitch, boolean pSetCamera) -
Uses of Relative in net.minecraft.world.level.portal
Fields in net.minecraft.world.level.portal with type parameters of type RelativeModifier and TypeFieldDescriptionTeleportTransition.relatives
The field for therelatives
record component.Methods in net.minecraft.world.level.portal that return types with arguments of type RelativeModifier and TypeMethodDescriptionTeleportTransition.relatives()
Returns the value of therelatives
record component.Constructor parameters in net.minecraft.world.level.portal with type arguments of type RelativeModifierConstructorDescriptionTeleportTransition
(ServerLevel newLevel, Vec3 position, Vec3 deltaMovement, float yRot, float xRot, boolean missingRespawnBlock, boolean asPassenger, Set<Relative> relatives, TeleportTransition.PostTeleportTransition postTeleportTransition) Creates an instance of aTeleportTransition
record class.TeleportTransition
(ServerLevel p_380133_, Vec3 p_379861_, Vec3 p_380308_, float p_379941_, float p_380119_, Set<Relative> p_379959_, TeleportTransition.PostTeleportTransition p_379425_) -
Uses of Relative in net.neoforged.neoforge.common.util
Method parameters in net.neoforged.neoforge.common.util with type arguments of type RelativeModifier and TypeMethodDescriptionvoid
FakePlayer.FakePlayerNetHandler.teleport
(PositionMoveRotation posMoveRot, Set<Relative> relatives)