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 booleanClientPacketListener.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.relativesThe field for therelativesrecord component.ClientboundTeleportEntityPacket.relativesThe field for therelativesrecord component.Methods in net.minecraft.network.protocol.game that return types with arguments of type RelativeModifier and TypeMethodDescriptionClientboundPlayerPositionPacket.relatives()Returns the value of therelativesrecord component.ClientboundTeleportEntityPacket.relatives()Returns the value of therelativesrecord 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 aClientboundPlayerPositionPacketrecord class.ClientboundTeleportEntityPacket(int id, PositionMoveRotation change, Set<Relative> relatives, boolean onGround) Creates an instance of aClientboundTeleportEntityPacketrecord 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 voidTeleportCommand.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 TypeMethodDescriptionbooleanServerPlayer.teleportTo(ServerLevel p_265564_, double p_265424_, double p_265680_, double p_265312_, Set<Relative> p_265192_, float p_265059_, float p_265266_, boolean p_361029_) -
Uses of Relative in net.minecraft.server.network
Method parameters in net.minecraft.server.network with type arguments of type RelativeModifier and TypeMethodDescriptionvoidServerGamePacketListenerImpl.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.ALLRelative.DELTARelative.ROTATIONstatic final StreamCodec<io.netty.buffer.ByteBuf, Set<Relative>> Relative.SET_STREAM_CODECMethods in net.minecraft.world.entity that return RelativeModifier and TypeMethodDescriptionstatic RelativeReturns 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 doublePositionMoveRotation.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 PositionMoveRotationPositionMoveRotation.calculateAbsolute(PositionMoveRotation pCurrent, PositionMoveRotation pAfter, Set<Relative> pRelatives) private static doublePositionMoveRotation.calculateDelta(double pPosition, double pDeltaMovement, Set<Relative> pRelatives, Relative pDeltaRelative) static intvoidEntity.teleportSetPosition(PositionMoveRotation pPositionMovementRotation, Set<Relative> pRelatives) booleanEntity.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.relativesThe field for therelativesrecord component.Methods in net.minecraft.world.level.portal that return types with arguments of type RelativeModifier and TypeMethodDescriptionTeleportTransition.relatives()Returns the value of therelativesrecord 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 aTeleportTransitionrecord 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 TypeMethodDescriptionvoidFakePlayer.FakePlayerNetHandler.teleport(PositionMoveRotation posMoveRot, Set<Relative> relatives)