Also broadcast current held item. The block progress is already correctly displayed and calculated for tools. But for some reason the destruction does not work, looking at vanilla code i have no idea what i'm doing wrong
Also rewrite how we handle tags. Now we can use tags everywhere we want!. I also decided to make the json assets pretty printed which is so much easier to debug, The decision was made because of the reason that we are moving to compile time assets, so pretty printing does not affect performance
* make entity world RwLock
* Add teleport function
* Mark client as not loaded before change dim
* clippy
* Post-merge issues
* FIx post merge issues
* Make world.remove_player fire event conditionally
* Remove extra StartWaitingChunks packet
* Add world.send_world_info()
* Added 11 blocks properties
Added the following properties:
Axis
Open
Age
Attachment
Signal Fire
6 connection directions
* Clippy my beloved 💕
* Reworked block properties
Changed block properties to make them more extensible and easier to handle.
* Little too much of Clippy
* Lever works!!! 🎉
Made the lever work, implementing modifiers to the “on_place” per block, plus the “on_interact” function to handle the state when interacting with a block that has it.
* Kinda implemented bool as value
* A little bit of Clippy :)
* Add weather and weather command
I still need to add duration, fading and sounds
* F*ck bedrock
* Add weather cycle, fading, and duration
* Revert "Merge remote-tracking branch 'upstream/master' into weather"
This reverts commit c009fdfad3, reversing
changes made to ddeda07272.
* Reapply "Merge remote-tracking branch 'upstream/master' into weather"
This reverts commit 70a0e9861d.
* Update time.rs to use time arg
* Updated revised areas
* Removed enum added macro to search for block entity id
* Added sign update for all clients & clean up
* updated update_sign
* Updated code
* typo fix and format
* Finish and correct merge
* Remove hardcoded block entity value
* Move to own nbt crate
---------
Co-authored-by: whiteout314 <almagro.carlos@proton.me>
* simplify all
* fmt
* Consider using derive macro
* Add new events
* Add events call
* minor fixes
* minor fixes
* fix
* optimize code
* big changes
* fix skill issue
* fix
* Consider not specify patch version
* make logger shared
* i want test one thing
* Add one useful function
* add little amouth of docs
* use config instead
* revert changes
* fmt
---------
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
* Initial experience support
For some reason I am getting link errors
* Implement experience math
* Fix packet and format/clippy
* Fix translate strings
* Fix experience handling
* Clippy & Format
* Fix experience calculations
* Fix how we store experience.
Math WIP
* Redo all experience calculations
This should be 100% vanilla parity.
* Add unregister function
* Add unregister_command to plugin context
* Send command suggestions packet to all players
* cargo clippy
* cargo clippy again
* Fixed slabs properties
Changed a little bit the properties system to make the slabs work properly and the collision calculation when placing them.
* Added Layers
Used for Snow
* Prevent some crashes
Fixes https://github.com/Pumpkin-MC/Pumpkin/issues/514
* fix clippy
* Improve bounding box
* Added margin on intersection
Added a margin on intersections calculation to prevent the player to pass through blocks.
* Rolling back intersection margin
---------
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>