class Rosegold::Clientbound::JoinGame

Defined in:

rosegold/packets/clientbound/join_game.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(entity_id : UInt64, hardcore : Bool, gamemode : Int8, previous_gamemode : Int8, dimension_names : Array(String), dimension_codec : Minecraft::NBT::Tag, dimension : Minecraft::NBT::Tag, dimension_name : String, hashed_seed : Int64, max_players : UInt32, view_distance : UInt32, simulation_distance : UInt32, reduced_debug_info : Bool, enable_respawn_screen : Bool, is_debug : Bool, is_flat : Bool) #

[View source]

Class Method Detail

def self.packet_id #

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

[View source]

Instance Method Detail

def callback(client) #

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

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

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

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

[View source]
def dimension_name : String #

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

[View source]
def dimension_names : Array(String) #

[View source]
def dimension_names=(dimension_names : Array(String)) #

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

[View source]
def enable_respawn_screen? : Bool #

[View source]
def entity_id : UInt64 #

[View source]
def entity_id=(entity_id : UInt64) #

[View source]
def gamemode : Int8 #

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

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

[View source]
def hardcore? : Bool #

[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 max_players : UInt32 #

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

[View source]
def previous_gamemode : Int8 #

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

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

[View source]
def reduced_debug_info? : Bool #

[View source]
def simulation_distance : UInt32 #

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

[View source]
def view_distance : UInt32 #

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

[View source]
def write : Bytes #

[View source]