class Nbt::Tag

Defined in:

tag.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(id : Nbt::Tag::Id, name : String, payload : Array(Int32) | Array(Int64) | Array(Int8) | Array(Nbt::Tag) | Float32 | Float64 | Int16 | Int32 | Int64 | Int8 | String | Nil) #

[View source]

Instance Method Detail

def id : Id #

[View source]
def list_id : Id | Nil #

[View source]
def name : String #

[View source]
def name=(name : String) #

[View source]
def payload : Nil | String | Int8 | Int16 | Int32 | Int64 | Float32 | Float64 | Array(Int8) | Array(Int32) | Array(Int64) | Array(Nbt::Tag) #

[View source]
def payload=(payload : Nil | String | Int8 | Int16 | Int32 | Int64 | Float32 | Float64 | Array(Int8) | Array(Int32) | Array(Int64) | Array(Nbt::Tag)) #

[View source]