Skip to content

BlockParticleEvent

Package: com.hypixel.hytale.protocol

public enum BlockParticleEvent

Identifies the type of interaction that triggers block particles.

ConstantOrdinalDescription
Walk0
Run1
Sprint2
SoftLand3
HardLand4
MoveOut5
Hit6
Break7
Build8
Physics9
public int getValue()

Returns the integer wire value for this BlockParticleEvent constant.

public static BlockParticleEvent fromValue(int value)

Returns the BlockParticleEvent 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.