class Rosegold::Clientbound::Respawn

Defined in:

rosegold/packets/clientbound/respawn.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(dimension : Minecraft::NBT::Tag, dimension_name : String, hashed_seed : Int64, gamemode : Int8, previous_gamemode : Int8, is_debug : Bool, is_flat : Bool, copy_metadata : Bool) #

[View source]

Class Method Detail

def self.packet_id #

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

[View source]

Instance Method Detail

def callback(client) #

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

[View source]
def copy_metadata? : Bool #

[View source]
def dimension : Minecraft::NBT::Tag #

[View source]
def dimension=(dimension : Minecraft::NBT::Tag) #

[View source]
def dimension_name : String #

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

[View source]
def gamemode : Int8 #

[View source]
def gamemode=(gamemode : Int8) #

[View source]
def hashed_seed : Int64 #

[View source]
def hashed_seed=(hashed_seed : Int64) #

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

[View source]
def is_debug? : Bool #

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

[View source]
def is_flat? : Bool #

[View source]
def previous_gamemode : Int8 #

[View source]
def previous_gamemode=(previous_gamemode : Int8) #

[View source]
def write : Bytes #

[View source]