Skip to content

API reference Obsidian.API.Client

EntityRenderType enum

How a layer or a part drawn by code is drawn, like vanilla's entity render types.

public enum EntityRenderType

In Obsidian.API.Client.

Values

NameValueDescription
Cutout 0

Opaque, with transparent pixels cut out, lit and shaded like the entity, and tinted red as it's hurt: vanilla's entity_cutout.

Translucent 1

Blended by the texture's alpha, otherwise like EntityRenderType.Cutout: vanilla's entity_translucent.

Emissive 2

Full-bright, whatever the light, unshaded and never tinted red, blended by the texture's alpha and hiding nothing behind it: vanilla's eyes, for glowing eyes and markings.

On this page