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 change, Set<Relative> relatives, Entity entity, boolean interpolate) -
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 values, Set<Relative> relatives) ClientboundTeleportEntityPacket.teleport(int id, PositionMoveRotation values, 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 destination, @Nullable Coordinates rotation, boolean sameDimension) Method parameters in net.minecraft.server.commands with type arguments of type RelativeModifier and TypeMethodDescriptionprivate static voidTeleportCommand.performTeleport(CommandSourceStack source, Entity victim, ServerLevel level, double x, double y, double z, Set<Relative> relatives, float yRot, float xRot, @Nullable 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 level, double x, double y, double z, Set<Relative> relatives, float newYRot, float newXRot, boolean resetCamera) -
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 destination, Set<Relative> relatives) -
Uses of Relative in net.minecraft.world.entity
Subclasses with type arguments of type Relative in net.minecraft.world.entityFields 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 RelativeModifier and TypeMethodDescriptionRelative.direction(boolean relativeX, boolean relativeY, boolean relativeZ) Relative.position(boolean relativeX, boolean relativeY, boolean relativeZ) Relative.rotation(boolean relativeYRot, boolean relativeXRot) Relative.unpack(int value) Methods in net.minecraft.world.entity with parameters of type RelativeModifier and TypeMethodDescriptionprivate static doublePositionMoveRotation.calculateDelta(double currentDelta, double deltaChange, Set<Relative> relatives, Relative relative) Method parameters in net.minecraft.world.entity with type arguments of type RelativeModifier and TypeMethodDescriptionstatic PositionMoveRotationPositionMoveRotation.calculateAbsolute(PositionMoveRotation source, PositionMoveRotation change, Set<Relative> relatives) private static doublePositionMoveRotation.calculateDelta(double currentDelta, double deltaChange, Set<Relative> relatives, Relative relative) static intvoidEntity.teleportSetPosition(PositionMoveRotation destination, Set<Relative> relatives) voidEntity.teleportSetPosition(PositionMoveRotation currentValues, PositionMoveRotation destination, Set<Relative> relatives) booleanEntity.teleportTo(ServerLevel level, double x, double y, double z, Set<Relative> relatives, float newYRot, float newXRot, boolean resetCamera) -
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 newLevel, Vec3 pos, Vec3 speed, float yRot, float xRot, Set<Relative> relatives, TeleportTransition.PostTeleportTransition postTeleportTransition) -
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)