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 positionMoveRotation, Set<Relative> relatives, Entity entity, boolean lerp) -
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 id, PositionMoveRotation positionMoveRotation, Set<Relative> relativeArguments) ClientboundTeleportEntityPacket.teleport(int id, PositionMoveRotation change, Set<Relative> relatives, boolean onGround) 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 position, Coordinates rotation, boolean absolute) Method parameters in net.minecraft.server.commands with type arguments of type RelativeModifier and TypeMethodDescriptionprivate static voidTeleportCommand.performTeleport(CommandSourceStack source, Entity target, ServerLevel level, double x, double y, double z, Set<Relative> relatives, float yRot, float xRot, LookAt lookAt) -
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 posMoveRotation, Set<Relative> relatives) -
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 position, double deltaMovement, Set<Relative> relatives, Relative deltaRelative) Method parameters in net.minecraft.world.entity with type arguments of type RelativeModifier and TypeMethodDescriptionstatic PositionMoveRotationPositionMoveRotation.calculateAbsolute(PositionMoveRotation current, PositionMoveRotation after, Set<Relative> relatives) private static doublePositionMoveRotation.calculateDelta(double position, double deltaMovement, Set<Relative> relatives, Relative deltaRelative) static intvoidEntity.teleportSetPosition(PositionMoveRotation positionMovementRotation, Set<Relative> relatives) booleanEntity.teleportTo(ServerLevel level, double x, double y, double z, Set<Relative> relativeMovements, float yaw, float pitch, boolean setCamera) -
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)