* added i32 result for /ban, /ban-ip, /banlist, and /bossbar
* added i32 result for /give, /fill and /clear, fixed executor spelling
* added i32 result for /damage, /data, /defaultgamemode, /deop, /difficulty, /effect, /enchant, /gamemode, /gamerule, /list, /me, /plugins, /pumpkin, /say, /seed, /setblock, and /stop
* added i32 for all other implemented commands left
* fixed clippy warnings and other various fixes
* added helpful documentation for `CommandResult`
* formatted docs properly
* switch to btreemap to comply with lint
* amplifier i32 -> u8
* switch allow to expect lint
* remove many many unnecessary clippy lints
* dont use expect inside quotes
* improve tag v1
* improve tag v2
* fix typo and make BlockPredicate better
* improve get state from state id
* impl DataComponent
* make tag pub
* make component work
* apply clippy
* apply clippy
* remove unused crate
* apply to itemstack and no lifetime mark anymore
* Update tag.rs
* use Cow
* remove unnecessary lazy_static and Cow
* Update mod.rs
* Update mod.rs
* make DataComponent dyn
* remove unused crate
* fix error
* Update Cargo.toml
* Update Cargo.lock
* fix
* Update composter.rs
* update rust-version, remove unused crate, and merge
* Update furnace.rs
* 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>
* update to 1.21.5
* maybe made something better maybe made something worse
:c does still not work
* some fixes
* fix chunk packet
finally, this took way too much of my life time
* port text component
* fix tests
recipes are broken but we currently don't use them anyway
* Updated show_entity
Changed a little bit the show_entity function from HoverEvents to better usability
* Added to_string to EntityType
Added to_str and to_string functions to allow proper use of identifiers in the show_entity of a TextComponent.
* Clear texts parity
Added translations to clear command, also added to show the player which items are cleaned, and tell something to the user like vanilla.
* Pumpkin command format
Formatted the pumpkin command to show better the text.
* Kill texts parity
Added translations to kill command, also added to show the player who is killed, and tell something to that user like vanilla. Also changed the color to white like vanilla.
* Added translate key of item
Added a function to item_registry which returns the appropriate TextComponent::translate for a item
* Give texts parity
Added translations to give command item, also added to show the player who receive the item, and tell something to that user like vanilla.
* CLIPPY MY LORD
* Reverted entity_type changes
I had not thought that I could use debug to get the name of the type, my mistake
* Added send_message to Player
Added the function send_message to allow sending DisgusedChatMessages directly to a specific player.
* Added msg command
Added msg (tell) command to match with the applied parity changes.
* Bossbar texts parity
Added translations and parity props for Bossbar command texts, without changing their behavior.