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 p_380237_, Set<Relative> p_380116_, Entity p_379700_, boolean p_379954_) -
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 p_371253_, PositionMoveRotation p_371666_, Set<Relative> p_371475_) ClientboundTeleportEntityPacket.teleport
(int p_379814_, PositionMoveRotation p_379503_, Set<Relative> p_379757_, boolean p_380240_) 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 p_374290_, Coordinates p_374529_, boolean p_381166_) Method parameters in net.minecraft.server.commands with type arguments of type RelativeModifier and TypeMethodDescriptionprivate static void
TeleportCommand.performTeleport
(CommandSourceStack p_139015_, Entity p_139016_, ServerLevel p_139017_, double p_139018_, double p_139019_, double p_139020_, Set<Relative> p_139021_, float p_139022_, float p_139023_, LookAt p_380216_) -
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 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 TypeMethodDescriptionvoid
ServerGamePacketListenerImpl.teleport
(PositionMoveRotation p_371571_, Set<Relative> p_9786_) -
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 p_371633_, double p_371363_, Set<Relative> p_371682_, Relative p_371585_) Method parameters in net.minecraft.world.entity with type arguments of type RelativeModifier and TypeMethodDescriptionstatic PositionMoveRotation
PositionMoveRotation.calculateAbsolute
(PositionMoveRotation p_371265_, PositionMoveRotation p_371276_, Set<Relative> p_371779_) private static double
PositionMoveRotation.calculateDelta
(double p_371633_, double p_371363_, Set<Relative> p_371682_, Relative p_371585_) static int
void
Entity.teleportSetPosition
(PositionMoveRotation p_376669_, Set<Relative> p_376772_) boolean
Entity.teleportTo
(ServerLevel p_265257_, double p_265407_, double p_265727_, double p_265410_, Set<Relative> p_265083_, float p_265573_, float p_265094_, boolean p_365015_) -
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)