class Rosegold::Clientbound::AcknowledgePlayerDigging

Overview

Some servers do not send this.

Defined in:

rosegold/packets/clientbound/acknowledge_player_digging.cr

Constructors

Class Method Summary

Instance Method Summary

Class methods inherited from class Rosegold::Clientbound::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(location : Rosegold::Vec3i, block_id : UInt16, status : Rosegold::Serverbound::PlayerDigging::Status, successful : Bool) #

[View source]

Class Method Detail

def self.packet_id #

[View source]
def self.read(packet) #

[View source]

Instance Method Detail

def block_id : UInt16 #

[View source]
def block_id=(block_id : UInt16) #

[View source]
def callback(client) #

[View source]
def location : Vec3i #

[View source]
def location=(location : Vec3i) #

[View source]
def status : Status #

[View source]
def status=(status : Status) #

[View source]
def successful=(successful : Bool) #

[View source]
def successful? : Bool #

[View source]