mirror of
https://github.com/Pumpkin-MC/Pumpkin.git
synced 2026-08-30 20:14:23 +00:00
* replace slot with ItemStackSeralizer * Dismantle current inv logic * Disassemble even more, items need fixing markd with TODO: Inv * Player inventory methods implmented * make some fields private * remove invalid comment * Partial screen handler and slot * Add armorslot * prepare for crafting * implement some more crafting traits * Fix ItemStack * Fix pickup and remove faulty crafting (getting reworked in inv revamp) * fix * fix error * add readme * move readme file * asd * remove readme * add uppsercase readme * Some more work * merge * Move from generics to dynamics * fix * move to same impl * Some changes * add player open logic * Basic impl of sync and listeners * Why did mojang complicate it so much * bruh * Simplify things with DefaultScreenHandlerBehaviour * Implement partial slot clicks * add * itemhashes are broken * Start implementing packets * fix deadlock * new vanilla update * Use static item refs and use Arc Mutex on invs * working normal click * fix deadlock * implement sync handler * small patch * Implement quick_move * Implement Swap click type * pickup, update bug * start fixing updates * fix pickup desync * Make Inventories non mutexes * Implement some finishing stuff * close screen on player leave * fix pick item * Move to item hashes * remove some logs * begin implementing barrels * Begin implementing barrel * implement barrels * fix clippy + typos * Fix merge conflicts * Fix lint error * don't use unwrap when getting equipment slot * Fix typo and single threaded * Accidentally removed tokio completley * Fix crash when opening barrel holding item * Add support for marking block entities dirty * Player Equipment changes * Make ScreenHandlerFactory own inventory instead of passing in optional * remove log * replace todo's * fix clippy --------- Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
174 lines
4.0 KiB
Rust
174 lines
4.0 KiB
Rust
mod acknowledge_block;
|
|
mod actionbar;
|
|
mod block_destroy_stage;
|
|
mod block_entity_data;
|
|
mod block_event;
|
|
mod block_update;
|
|
mod boss_event;
|
|
mod bossevent_action;
|
|
mod center_chunk;
|
|
mod change_difficulty;
|
|
mod chunk_batch_end;
|
|
mod chunk_batch_start;
|
|
mod chunk_data;
|
|
mod clear_title;
|
|
mod close_container;
|
|
mod combat_death;
|
|
mod command_suggestions;
|
|
mod commands;
|
|
mod cookie_request;
|
|
mod damage_event;
|
|
mod disconnect;
|
|
mod disguised_chat_message;
|
|
mod display_objective;
|
|
mod entity_animation;
|
|
mod entity_metadata;
|
|
mod entity_position_sync;
|
|
mod entity_sound_effect;
|
|
mod entity_status;
|
|
mod entity_velocity;
|
|
mod explode;
|
|
mod game_event;
|
|
mod head_rot;
|
|
mod hurt_animation;
|
|
mod initialize_world_border;
|
|
mod keep_alive;
|
|
mod level_event;
|
|
mod login;
|
|
mod multi_block_update;
|
|
mod open_screen;
|
|
mod open_sign_editor;
|
|
mod particle;
|
|
mod ping_response;
|
|
mod player_abilities;
|
|
mod player_action;
|
|
mod player_chat_message;
|
|
mod player_info_update;
|
|
mod player_position;
|
|
mod player_remove;
|
|
mod remove_entities;
|
|
mod remove_mob_effect;
|
|
mod reset_score;
|
|
mod respawn;
|
|
mod server_links;
|
|
mod set_border_center;
|
|
mod set_border_lerp_size;
|
|
mod set_border_size;
|
|
mod set_border_warning_delay;
|
|
mod set_border_warning_distance;
|
|
mod set_container_content;
|
|
mod set_container_property;
|
|
mod set_container_slot;
|
|
mod set_cursor_slot;
|
|
mod set_equipment;
|
|
mod set_experience;
|
|
mod set_health;
|
|
mod set_held_item;
|
|
mod set_player_inventory;
|
|
mod set_time;
|
|
mod set_title;
|
|
mod sound_effect;
|
|
mod spawn_entity;
|
|
mod stop_sound;
|
|
mod store_cookie;
|
|
mod subtitle;
|
|
mod system_chat_message;
|
|
mod take_item;
|
|
mod teleport_entity;
|
|
mod transfer;
|
|
mod unload_chunk;
|
|
mod update_entity_pos;
|
|
mod update_entity_pos_rot;
|
|
mod update_entity_rot;
|
|
mod update_mob_effect;
|
|
mod update_objectives;
|
|
mod update_score;
|
|
mod worldevent;
|
|
|
|
pub use acknowledge_block::*;
|
|
pub use actionbar::*;
|
|
pub use block_destroy_stage::*;
|
|
pub use block_entity_data::*;
|
|
pub use block_event::*;
|
|
pub use block_update::*;
|
|
pub use boss_event::*;
|
|
pub use bossevent_action::*;
|
|
pub use center_chunk::*;
|
|
pub use change_difficulty::*;
|
|
pub use chunk_batch_end::*;
|
|
pub use chunk_batch_start::*;
|
|
pub use chunk_data::*;
|
|
pub use clear_title::*;
|
|
pub use close_container::*;
|
|
pub use combat_death::*;
|
|
pub use command_suggestions::*;
|
|
pub use commands::*;
|
|
pub use cookie_request::*;
|
|
pub use damage_event::*;
|
|
pub use disconnect::*;
|
|
pub use disguised_chat_message::*;
|
|
pub use display_objective::*;
|
|
pub use entity_animation::*;
|
|
pub use entity_metadata::*;
|
|
pub use entity_position_sync::*;
|
|
pub use entity_sound_effect::*;
|
|
pub use entity_status::*;
|
|
pub use entity_velocity::*;
|
|
pub use explode::*;
|
|
pub use game_event::*;
|
|
pub use head_rot::*;
|
|
pub use hurt_animation::*;
|
|
pub use initialize_world_border::*;
|
|
pub use keep_alive::*;
|
|
pub use level_event::*;
|
|
pub use login::*;
|
|
pub use multi_block_update::*;
|
|
pub use open_screen::*;
|
|
pub use open_sign_editor::*;
|
|
pub use particle::*;
|
|
pub use ping_response::*;
|
|
pub use player_abilities::*;
|
|
pub use player_action::*;
|
|
pub use player_chat_message::*;
|
|
pub use player_info_update::*;
|
|
pub use player_position::*;
|
|
pub use player_remove::*;
|
|
pub use remove_entities::*;
|
|
pub use remove_mob_effect::*;
|
|
pub use reset_score::*;
|
|
pub use respawn::*;
|
|
pub use server_links::*;
|
|
pub use set_border_center::*;
|
|
pub use set_border_lerp_size::*;
|
|
pub use set_border_size::*;
|
|
pub use set_border_warning_delay::*;
|
|
pub use set_border_warning_distance::*;
|
|
pub use set_container_content::*;
|
|
pub use set_container_property::*;
|
|
pub use set_container_slot::*;
|
|
pub use set_cursor_slot::*;
|
|
pub use set_equipment::*;
|
|
pub use set_experience::*;
|
|
pub use set_health::*;
|
|
pub use set_held_item::*;
|
|
pub use set_player_inventory::*;
|
|
pub use set_time::*;
|
|
pub use set_title::*;
|
|
pub use sound_effect::*;
|
|
pub use spawn_entity::*;
|
|
pub use stop_sound::*;
|
|
pub use store_cookie::*;
|
|
pub use subtitle::*;
|
|
pub use system_chat_message::*;
|
|
pub use take_item::*;
|
|
pub use teleport_entity::*;
|
|
pub use transfer::*;
|
|
pub use unload_chunk::*;
|
|
pub use update_entity_pos::*;
|
|
pub use update_entity_pos_rot::*;
|
|
pub use update_entity_rot::*;
|
|
pub use update_mob_effect::*;
|
|
pub use update_objectives::*;
|
|
pub use update_score::*;
|
|
pub use worldevent::*;
|