class Rosegold::Clientbound::ChunkData
- Rosegold::Clientbound::ChunkData
- Rosegold::Clientbound::Packet
- Rosegold::Packet
- Rosegold::Event
- Reference
- Object
Defined in:
rosegold/packets/clientbound/chunk_data.crConstructors
- .new(chunk_x : Int32, chunk_z : Int32, heightmaps : Minecraft::NBT::Tag, data : Slice(UInt8), block_entities : Array(Rosegold::Chunk::BlockEntity), light_data : Slice(UInt8))
- .new(chunk : Chunk)
Class Method Summary
Instance Method Summary
- #block_entities : Array(Chunk::BlockEntity)
- #block_entities=(block_entities : Array(Chunk::BlockEntity))
- #callback(client)
- #chunk_x : Int32
- #chunk_x=(chunk_x : Int32)
- #chunk_z : Int32
- #chunk_z=(chunk_z : Int32)
- #data : Bytes
- #data=(data : Bytes)
- #heightmaps : Minecraft::NBT::Tag
- #heightmaps=(heightmaps : Minecraft::NBT::Tag)
- #inspect(io)
- #light_data : Bytes
- #light_data=(light_data : Bytes)
- #write : Bytes
Class methods inherited from class Rosegold::Clientbound::Packet
new_raw(bytes)
new_raw,
state
state
Instance methods inherited from class Rosegold::Packet
callback(client_or_server)
callback,
to_s(io)
to_s,
write : Bytes
write
Constructor Detail
def self.new(chunk_x : Int32, chunk_z : Int32, heightmaps : Minecraft::NBT::Tag, data : Slice(UInt8), block_entities : Array(Rosegold::Chunk::BlockEntity), light_data : Slice(UInt8))
#