class Rosegold::Serverbound::UseItem

Defined in:

rosegold/packets/serverbound/use_item.cr

Constructors

Class Method Summary

Instance Method Summary

Class methods inherited from class Rosegold::Serverbound::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(hand : Hand = Hand::MainHand) #

[View source]

Class Method Detail

def self.packet_id #

[View source]

Instance Method Detail

def hand : Hand #

[View source]
def hand=(hand : Hand) #

[View source]
def write : Bytes #

[View source]