Skip to content

ShaderType

Package: com.hypixel.hytale.protocol

public enum ShaderType

Enum with 10 constants used in the protocol serialization layer.

ConstantOrdinalDescription
None0No special shader.
Wind1Wind animation shader.
WindAttached2Wind shader attached to surface.
WindRandom3Randomized wind shader.
WindFractal4Fractal wind pattern shader.
Ice5Ice surface shader.
Water6Water surface shader.
Lava7Lava surface shader.
Slime8Slime surface shader.
Ripple9Ripple effect shader.
public int getValue()

Returns the integer wire value for this ShaderType constant.

public static ShaderType fromValue(int value)

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

Serialized as a single byte (09). 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.