class Rosegold::Clientbound::JoinGame
- Rosegold::Clientbound::JoinGame
- Rosegold::Clientbound::Packet
- Rosegold::Packet
- Rosegold::Event
- Reference
- Object
Defined in:
rosegold/packets/clientbound/join_game.crConstructors
Class Method Summary
Instance Method Summary
- #callback(client)
- #dimension : Minecraft::NBT::Tag
- #dimension=(dimension : Minecraft::NBT::Tag)
- #dimension_codec : Minecraft::NBT::Tag
- #dimension_codec=(dimension_codec : Minecraft::NBT::Tag)
- #dimension_name : String
- #dimension_name=(dimension_name : String)
- #dimension_names : Array(String)
- #dimension_names=(dimension_names : Array(String))
- #enable_respawn_screen=(enable_respawn_screen : Bool)
- #enable_respawn_screen? : Bool
- #entity_id : UInt64
- #entity_id=(entity_id : UInt64)
- #gamemode : Int8
- #gamemode=(gamemode : Int8)
- #hardcore=(hardcore : Bool)
- #hardcore? : Bool
- #hashed_seed : Int64
- #hashed_seed=(hashed_seed : Int64)
- #is_debug=(is_debug : Bool)
- #is_debug? : Bool
- #is_flat=(is_flat : Bool)
- #is_flat? : Bool
- #max_players : UInt32
- #max_players=(max_players : UInt32)
- #previous_gamemode : Int8
- #previous_gamemode=(previous_gamemode : Int8)
- #reduced_debug_info=(reduced_debug_info : Bool)
- #reduced_debug_info? : Bool
- #simulation_distance : UInt32
- #simulation_distance=(simulation_distance : UInt32)
- #view_distance : UInt32
- #view_distance=(view_distance : UInt32)
- #write : Bytes
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)
#