class

Rosegold::Chunk

Inherits Reference / Object

Constructors

new(x : Int32, z : Int32, io, dimension : Dimension)
Source

Instance methods

block_entities
Source
block_entities=(block_entities : Array(Rosegold::Chunk::BlockEntity))
Source
block_state(x : Int32, y : Int32, z : Int32) : BlockStateNr | Nil

Returns nil if outside world vertically.

Source
data
Source
heightmaps
Source
heightmaps=(heightmaps : Minecraft::NBT::Tag)
Source
light_data
Source
light_data=(light_data : Slice(UInt8))
Source
sections
Source
set_block_state(x : Int32, y : Int32, z : Int32, block_state : BlockStateNr) : BlockStateNr | Nil
Source

Nested types