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 pX, double pY, double pZ, float pYRot, float pXRot, Set<RelativeMovement> pRelativeArguments, int pId) -
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 pSource, Entity pEntity, ServerLevel pLevel, double pX, double pY, double pZ, Set<RelativeMovement> pRelativeList, float pYaw, float pPitch, TeleportCommand.LookAt pFacing) -
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 pLevel, double pX, double pY, double pZ, Set<RelativeMovement> pRelativeMovements, float pYRot, float pXRot) -
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 pX, double pY, double pZ, float pYaw, float pPitch, Set<RelativeMovement> pRelativeSet) 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 pPackedMovements) Method parameters in net.minecraft.world.entity with type arguments of type RelativeMovementModifier and TypeMethodDescriptionstatic int
RelativeMovement.pack
(Set<RelativeMovement> pMovements) boolean
Entity.teleportTo
(ServerLevel pLevel, double pX, double pY, double pZ, Set<RelativeMovement> pRelativeMovements, float pYRot, float pXRot) -
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)