Package io.papermc.paper.entity
Enum Class TeleportFlag.Relative
- All Implemented Interfaces:
- TeleportFlag,- Serializable,- Comparable<TeleportFlag.Relative>,- Constable
- Enclosing interface:
- TeleportFlag
@Experimental
public static enum TeleportFlag.Relative
extends Enum<TeleportFlag.Relative>
implements TeleportFlag
Note: These flags only work on 
Player entities.
 Represents coordinates in a teleportation that should be handled relatively.
Coordinates of the location that the client should handle as relative teleportation Relative teleportation flags are only used client side, and cause the player to not lose velocity in that specific coordinate. The location of the teleportation will not change.
- 
Nested Class SummaryNested classes/interfaces inherited from class java.lang.EnumEnum.EnumDesc<E extends Enum<E>>Nested classes/interfaces inherited from interface io.papermc.paper.entity.TeleportFlagTeleportFlag.EntityState, TeleportFlag.Relative
- 
Enum Constant SummaryEnum Constants
- 
Method SummaryModifier and TypeMethodDescriptionstatic TeleportFlag.RelativeReturns the enum constant of this class with the specified name.static TeleportFlag.Relative[]values()Returns an array containing the constants of this enum class, in the order they are declared.
- 
Enum Constant Details- 
XRepresents the player's X coordinate
- 
YRepresents the player's Y coordinate
- 
ZRepresents the player's Z coordinate
- 
YAWRepresents the player's yaw
- 
PITCHRepresents the player's pitch
 
- 
- 
Method Details- 
valuesReturns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
 
- 
valueOfReturns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
- name- the name of the enum constant to be returned.
- Returns:
- the enum constant with the specified name
- Throws:
- IllegalArgumentException- if this enum class has no constant with the specified name
- NullPointerException- if the argument is null
 
 
-