abstract class Minecraft::NBT::Tag

Direct Known Subclasses

Defined in:

minecraft/nbt.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.read(io : IO, tag_type = io.read_byte, &) : Tag #

[View source]
def self.read(io : IO, tag_type = io.read_byte) : Tag #

[View source]

Class Method Detail

def self.read_named(io : IO, tag_type = io.read_byte) : NamedTag #

[View source]

Instance Method Detail

def [](value) #

[View source]
def as_byte_array : Array(Int8) #

[View source]
def as_compound : Hash(String, Tag) #

[View source]
def as_f32 : Float32 #

[View source]
def as_f64 : Float64 #

[View source]
def as_i : Int8 | Int16 | Int32 | Int64 | UInt8 #

[View source]
def as_i16 : Int16 #

[View source]
def as_i32 : Int32 #

[View source]
def as_i32_array : Array(Int32) #

[View source]
def as_i64 : Int64 #

[View source]
def as_i64_array : Array(Int64) #

[View source]
def as_i8 : Int8 #

[View source]
def as_list : Array(Tag) #

[View source]
def as_s : String #

[View source]
abstract def tag_type : UInt8 #

[View source]
def value #

[View source]
def write_named(io : Minecraft::IO, name : String = "") #

[View source]