Skip to content

ParticleUVOption

Package: com.hypixel.hytale.protocol

public enum ParticleUVOption

Enum with 7 constants used in the protocol serialization layer.

ConstantOrdinalDescription
None0No UV modification.
RandomFlipU1Randomly flip texture U coordinate.
RandomFlipV2Randomly flip texture V coordinate.
RandomFlipUV3Randomly flip both U and V coordinates.
FlipU4Always flip texture U coordinate.
FlipV5Always flip texture V coordinate.
FlipUV6Always flip both U and V coordinates.
public int getValue()

Returns the integer wire value for this ParticleUVOption constant.

public static ParticleUVOption fromValue(int value)

Returns the ParticleUVOption constant for the given wire value. Throws ProtocolException if the value is out of range.

Serialized as a single byte (06). The static VALUES array is used for O(1) lookup by ordinal.

Hydex is an independent community resource. Hytale is a trademark of Hypixel Studios. Hydex is not affiliated with or endorsed by Hypixel Studios.