Skip to content

DrawType

Package: com.hypixel.hytale.protocol

public enum DrawType

Determines how a block or entity is visually rendered.

ConstantOrdinalDescription
Empty0Not rendered (invisible/air block).
GizmoCube1Editor-only gizmo cube for debugging.
Cube2Standard cube block with per-face textures.
Model3Custom 3D model (non-cube shapes).
CubeWithModel4Cube collision with additional model overlay.
public int getValue()

Returns the integer wire value for this DrawType constant.

public static DrawType fromValue(int value)

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

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