Enum Class ParticleVibrationData.PositionType
java.lang.Object
java.lang.Enum<ParticleVibrationData.PositionType>
com.github.retrooper.packetevents.protocol.particle.data.ParticleVibrationData.PositionType
- All Implemented Interfaces:
MappedEntity
,Serializable
,Comparable<ParticleVibrationData.PositionType>
,Constable
- Enclosing class:
ParticleVibrationData
@Deprecated
public static enum ParticleVibrationData.PositionType
extends Enum<ParticleVibrationData.PositionType>
implements MappedEntity
Deprecated.
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>>
-
Enum Constant Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic @Nullable ParticleVibrationData.PositionType
byModern
(@Nullable PositionSourceType<?> type) Deprecated.getById
(int id) Deprecated.static @Nullable ParticleVibrationData.PositionType
getByName
(ResourceLocation name) Deprecated.static @Nullable ParticleVibrationData.PositionType
Deprecated.int
getId
(ClientVersion version) Deprecated.getName()
Deprecated.Deprecated.Returns the enum constant of this class with the specified name.static ParticleVibrationData.PositionType[]
values()
Deprecated.Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
clone, compareTo, describeConstable, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
isRegistered
-
Enum Constant Details
-
BLOCK
Deprecated. -
ENTITY
Deprecated.
-
-
Method Details
-
values
Deprecated.Returns 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
-
valueOf
Deprecated.Returns 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 nameNullPointerException
- if the argument is null
-
byModern
@Contract("null -> null; !null -> !null") @Nullable public static @Nullable ParticleVibrationData.PositionType byModern(@Nullable @Nullable PositionSourceType<?> type) Deprecated. -
getById
Deprecated. -
getByName
Deprecated. -
getByName
@Nullable public static @Nullable ParticleVibrationData.PositionType getByName(ResourceLocation name) Deprecated. -
getName
Deprecated.- Specified by:
getName
in interfaceMappedEntity
-
getId
Deprecated.- Specified by:
getId
in interfaceMappedEntity
-