class Rosegold::DataComponents::SwingAnimation

Overview

SwingAnimation (1.21.11) - VarInt type + VarInt duration

Defined in:

rosegold/inventory/slot.cr

Constructors

Instance Method Summary

Instance methods inherited from class Rosegold::DataComponent

write(io) : Nil write

Constructor methods inherited from class Rosegold::DataComponent

create_component(component_type : UInt32, io) : DataComponent create_component, create_component_by_name(name : String | Nil, component_type : UInt32, io) : DataComponent create_component_by_name

Constructor Detail

def self.new(type_id : UInt32 = 0_u32, duration : UInt32 = 0_u32) #

[View source]
def self.read(io) : self #

[View source]

Instance Method Detail

def duration : UInt32 #

[View source]
def duration=(duration : UInt32) #

[View source]
def type_id : UInt32 #

[View source]
def type_id=(type_id : UInt32) #

[View source]
def write(io) : Nil #

[View source]