class

Rosegold::DataComponents::ProvidesTrimMaterial

Inherits Rosegold::DataComponent / Reference / Object

ProvidesTrimMaterial - EitherHolder<TrimMaterial>. Wire: bool first; true → Holder<TrimMaterial>, false → ResourceKey<TrimMaterial> (Identifier). Holder = VarInt id; if id == 0 ⇒ inline TrimMaterial follows; else ⇒ registry index (id - 1).

Constructors

read(io) : self
Source

Instance methods

raw_bytes
Source
raw_bytes=(raw_bytes : Bytes)
Source
write(io) : Nil
Source