Uses of Enum Class
net.minecraft.world.entity.RelativeMovement
Packages that use RelativeMovement
Package
Description
-
Uses of RelativeMovement in net.minecraft.network.protocol.game
Fields in net.minecraft.network.protocol.game with type parameters of type RelativeMovementModifier and TypeFieldDescriptionprivate final Set
<RelativeMovement> ClientboundPlayerPositionPacket.relativeArguments
Methods in net.minecraft.network.protocol.game that return types with arguments of type RelativeMovementConstructor parameters in net.minecraft.network.protocol.game with type arguments of type RelativeMovementModifierConstructorDescriptionClientboundPlayerPositionPacket
(double x, double y, double z, float yRot, float xRot, Set<RelativeMovement> relativeArguments, int id) -
Uses of RelativeMovement in net.minecraft.server.commands
Method parameters in net.minecraft.server.commands with type arguments of type RelativeMovementModifier and TypeMethodDescriptionprivate static void
TeleportCommand.performTeleport
(CommandSourceStack source, Entity entity, ServerLevel level, double x, double y, double z, Set<RelativeMovement> relativeList, float yaw, float pitch, TeleportCommand.LookAt facing) -
Uses of RelativeMovement in net.minecraft.server.level
Method parameters in net.minecraft.server.level with type arguments of type RelativeMovementModifier and TypeMethodDescriptionboolean
ServerPlayer.teleportTo
(ServerLevel level, double x, double y, double z, Set<RelativeMovement> relativeMovements, float yRot, float xRot) -
Uses of RelativeMovement in net.minecraft.server.network
Method parameters in net.minecraft.server.network with type arguments of type RelativeMovementModifier and TypeMethodDescriptionvoid
ServerGamePacketListenerImpl.teleport
(double x, double y, double z, float yaw, float pitch, Set<RelativeMovement> relativeSet) Teleports the player position to the (relative) values specified, and syncs to the client -
Uses of RelativeMovement in net.minecraft.world.entity
Fields in net.minecraft.world.entity with type parameters of type RelativeMovementModifier and TypeFieldDescriptionstatic final Set
<RelativeMovement> RelativeMovement.ALL
static final Set
<RelativeMovement> RelativeMovement.ROTATION
Methods in net.minecraft.world.entity that return RelativeMovementModifier and TypeMethodDescriptionstatic RelativeMovement
Returns the enum constant of this class with the specified name.static RelativeMovement[]
RelativeMovement.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 RelativeMovementModifier and TypeMethodDescriptionstatic Set
<RelativeMovement> RelativeMovement.unpack
(int packedMovements) Method parameters in net.minecraft.world.entity with type arguments of type RelativeMovementModifier and TypeMethodDescriptionstatic int
RelativeMovement.pack
(Set<RelativeMovement> movements) boolean
Entity.teleportTo
(ServerLevel level, double x, double y, double z, Set<RelativeMovement> relativeMovements, float yRot, float xRot) -
Uses of RelativeMovement in net.neoforged.neoforge.common.util
Method parameters in net.neoforged.neoforge.common.util with type arguments of type RelativeMovementModifier and TypeMethodDescriptionvoid
FakePlayer.FakePlayerNetHandler.teleport
(double x, double y, double z, float yaw, float pitch, Set<RelativeMovement> relativeSet)