class Events::C::EventHandler::On

Defined in:

packets/events.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(events : Events) #

[View source]

Instance Method Detail

def animation(&block : Play::C::Animation -> ) #

[View source]
def attach_entity(&block : Play::C::AttachEntity -> ) #

[View source]
def block_action(&block : Play::C::BlockAction -> ) #

[View source]
def block_break_anim(&block : Play::C::BlockBreakAnim -> ) #

[View source]
def block_change(&block : Play::C::BlockChange -> ) #

[View source]
def camera(&block : Play::C::Camera -> ) #

[View source]
def change_game_state(&block : Play::C::ChangeGameState -> ) #

[View source]
def chat(&block : Play::C::Chat -> ) #

[View source]
def chunk_data(&block : Play::C::ChunkData -> ) #

[View source]
def close_window(&block : Play::C::CloseWindow -> ) #

[View source]
def collect_item(&block : Play::C::CollectItem -> ) #

[View source]
def combat_event(&block : Play::C::CombatEvent -> ) #

[View source]
def confirm_transaction(&block : Play::C::ConfirmTransaction -> ) #

[View source]
def custom_payload(&block : Play::C::CustomPayload -> ) #

[View source]
def destroy_entities(&block : Play::C::DestroyEntities -> ) #

[View source]
def display_scoreboard(&block : Play::C::DisplayScoreboard -> ) #

[View source]
def effect(&block : Play::C::Effect -> ) #

[View source]
def enable_compression(&block : Login::C::EnableCompression -> ) #

[View source]
def encryption_request(&block : Login::C::EncryptionRequest -> ) #

[View source]
def entity(&block : Play::C::Entity -> ) #

[View source]
def entity_effect(&block : Play::C::EntityEffect -> ) #

[View source]
def entity_equipment(&block : Play::C::EntityEquipment -> ) #

[View source]
def entity_head_look(&block : Play::C::EntityHeadLook -> ) #

[View source]
def entity_look(&block : Play::C::EntityLook -> ) #

[View source]
def entity_look_and_relative_move(&block : Play::C::EntityLookAndRelativeMove -> ) #

[View source]
def entity_metadata(&block : Play::C::EntityMetadata -> ) #

[View source]
def entity_properties(&block : Play::C::EntityProperties -> ) #

[View source]
def entity_relative_move(&block : Play::C::EntityRelativeMove -> ) #

[View source]
def entity_status(&block : Play::C::EntityStatus -> ) #

[View source]
def entity_teleport(&block : Play::C::EntityTeleport -> ) #

[View source]
def entity_velocity(&block : Play::C::EntityVelocity -> ) #

[View source]
def explosion(&block : Play::C::Explosion -> ) #

[View source]
def held_item_change(&block : Play::C::HeldItemChange -> ) #

[View source]
def join_game(&block : Play::C::JoinGame -> ) #

[View source]
def keep_alive(&block : Play::C::KeepAlive -> ) #

[View source]
def login_disconnect(&block : Login::C::LoginDisconnect -> ) #

[View source]
def login_success(&block : Login::C::LoginSuccess -> ) #

[View source]
def map_chunk_bulk(&block : Play::C::MapChunkBulk -> ) #

[View source]
def maps(&block : Play::C::Maps -> ) #

[View source]
def multi_block_change(&block : Play::C::MultiBlockChange -> ) #

[View source]
def open_window(&block : Play::C::OpenWindow -> ) #

[View source]
def particles(&block : Play::C::Particles -> ) #

[View source]
def play_disconnect(&block : Play::C::PlayDisconnect -> ) #

[View source]
def player_abilities(&block : Play::C::PlayerAbilities -> ) #

[View source]
def player_list_header_footer(&block : Play::C::PlayerListHeaderFooter -> ) #

[View source]
def player_list_item(&block : Play::C::PlayerListItem -> ) #

[View source]
def player_pos_look(&block : Play::C::PlayerPosLook -> ) #

[View source]
def pong(&block : Status::C::Pong -> ) #

[View source]
def remove_entity_effect(&block : Play::C::RemoveEntityEffect -> ) #

[View source]
def resource_pack_send(&block : Play::C::ResourcePackSend -> ) #

[View source]
def respawn(&block : Play::C::Respawn -> ) #

[View source]
def scoreboard_objective(&block : Play::C::ScoreboardObjective -> ) #

[View source]
def server_difficulty(&block : Play::C::ServerDifficulty -> ) #

[View source]
def server_info(&block : Status::C::ServerInfo -> ) #

[View source]
def set_compression_level(&block : Play::C::SetCompressionLevel -> ) #

[View source]
def set_experience(&block : Play::C::SetExperience -> ) #

[View source]
def set_slot(&block : Play::C::SetSlot -> ) #

[View source]
def set_title(&block : Play::C::SetTitle -> ) #

[View source]
def set_world_border(&block : Play::C::SetWorldBorder -> ) #

[View source]
def sign_editor_open(&block : Play::C::SignEditorOpen -> ) #

[View source]
def sound_effect(&block : Play::C::SoundEffect -> ) #

[View source]
def spawn_experience_orb(&block : Play::C::SpawnExperienceOrb -> ) #

[View source]
def spawn_global_entity(&block : Play::C::SpawnGlobalEntity -> ) #

[View source]
def spawn_mob(&block : Play::C::SpawnMob -> ) #

[View source]
def spawn_object(&block : Play::C::SpawnObject -> ) #

[View source]
def spawn_painting(&block : Play::C::SpawnPainting -> ) #

[View source]
def spawn_player(&block : Play::C::SpawnPlayer -> ) #

[View source]
def spawn_position(&block : Play::C::SpawnPosition -> ) #

[View source]
def statistics(&block : Play::C::Statistics -> ) #

[View source]
def tab_complete(&block : Play::C::TabComplete -> ) #

[View source]
def teams(&block : Play::C::Teams -> ) #

[View source]
def time_update(&block : Play::C::TimeUpdate -> ) #

[View source]
def update_entity_nbt(&block : Play::C::UpdateEntityNBT -> ) #

[View source]
def update_health(&block : Play::C::UpdateHealth -> ) #

[View source]
def update_score(&block : Play::C::UpdateScore -> ) #

[View source]
def update_sign(&block : Play::C::UpdateSign -> ) #

[View source]
def update_tile_entity(&block : Play::C::UpdateTileEntity -> ) #

[View source]
def use_bed(&block : Play::C::UseBed -> ) #

[View source]
def window_items(&block : Play::C::WindowItems -> ) #

[View source]
def window_property(&block : Play::C::WindowProperty -> ) #

[View source]