class Rosegold::Section

Overview

Chunk Section (16x16x16 blocks), data format 1.16-1.18

Defined in:

rosegold/world/section.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(empty : Bool) #

[View source]
def self.new(io) #

[View source]

Class Method Detail

def self.empty #

Creates an empty section (for when no section data is sent)


[View source]

Instance Method Detail

def block_state(index : UInt32) : BlockStateNr #

[View source]
def set_block_state(index : UInt32, block_state : BlockStateNr) #

[View source]
def write(io) #

[View source]