struct Woozy::ServerChunkPacket
- Woozy::ServerChunkPacket
- Woozy::Packet
- Struct
- Value
- Object
Defined in:
packets.crConstant Summary
-
Id =
11_u8
Constructors
Class Method Summary
Instance Method Summary
- #block_ids : Array(UInt16)
- #block_palette : Hash(UInt16, String)
- #size : Int32
- #write(bytes : Bytes)
- #x : Int32
- #y : Int32
- #z : Int32
Instance methods inherited from struct Woozy::Packet
initialize
initialize,
size : Int32
size,
to_slice : Bytes
to_slice,
write(bytes : Bytes)
write
Constructor methods inherited from struct Woozy::Packet
new
new
Class methods inherited from struct Woozy::Packet
from_id(id : UInt8, bytes : Bytes) : Packet | Nil
from_id,
header_from_bytes(bytes : Bytes) : Tuple(UInt8, Int32)
header_from_bytes
Constructor Detail
def self.new(x : Int32, y : Int32, z : Int32, block_palette : Hash(UInt16, String), block_ids : Array(UInt16))
#