class Rosegold::PalettedContainer
- Rosegold::PalettedContainer
- Reference
- Object
Overview
Four modes: Single state: All entries are the same value. The value is stored as palette[0]. The long_array is empty. Encoded: The long_array stores the palette index of each value. Direct: The long_array stores values directly. The palette is empty.
Defined in:
rosegold/world/paletted_container.crConstructors
Instance Method Summary
- #[](index : Index) : Entry
- #[]=(index : Index, value : Entry) : Nil
- #size : Index
- #write(io : Minecraft::IO)