* fix: Prevent the server from binding to java or bedrock ports if they're configured to be disabled (fixes#1173)
* Fixed the formatting errors regarding the last commit
Registry data is now loaded dynamically for automatic future-proofing, ending the need for manual struct updates. Access to specific values now requires explicit data lookups.
* Improve error handling for invalid slot action type
* Enforce maximum ACK record limit in packet parsing
* Add resource pack details to CResourcePacksInfo packet
* fix: use rem_euclid for yaw and head_yaw calculations in CSpawnEntity | Thanks to @teknostom
* feat: Add ArmorStand Entity, EulerAngle & EquipmentSlot's
* feat: Add checking for if space is occupied of the armor stand
* feat: clippy
* feat: Enhance ArmorStandEntity with break and drop items functionality
* chore: cargo fmt
* feat: Add WindCharge entity and item with projectile deflection mechanics
* chore: clippy & fmt
* fix: use constant for default deflect cooldown in WindChargeEntity
* feat: add invisibility functionality to Entity and ArmorStandEntity
* refactor: remove EquipmentSlot and HasEquipment trait definitions since it was already existing oops
* feat: implement NbtTag conversion for PackedRotation and update ArmorStandEntity NBT handling
* refactor: fmt
* chore: clippy & fmt
* fix: update damage handling in ArmorStandEntity to use kill instead of remove
* feat: implement ticking behavior for WindChargeEntity to update deflect cooldown and process thrown item entity
* fix: remove unnecessary trailing comma in imports
* remove logging
* fmt
* refactor: simplify EulerAngle initialization and consolidate PackedRotation fields
* Make protochunk not have a lifetime
* Staged chunks
* fix
* new generation system init
* small optimize
* fix warning
* fmt
* new get chunk
* use write_radius
* save stage in protochunk
* clean up
* clean old fn
* fix bug
* support saving but broke shutdown
* fail to fix shutdown and still many problems need to solve
* fix shutdown
* fix chunk unload; give highest priority to get_chunk
* fix tick deadlock
* fix chunk level
* drop old channel
* rewrite run_decrease_update; fix a stupid error
* Update chunk_system.rs
* remove some log
* lighter dependency
* clean up
* fix ci
* clean up & merge
* Update chunk_system.rs
* fix a bug
* Proto Chunk Saving, safer io and remove debug output
Port Proto Chunk Saving From #1164
* fix a bug
* fetching chunk message level set to debug
* Update multi_noise.rs
---------
Co-authored-by: 4lve <72332750+4lve@users.noreply.github.com>
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
I did not update density functions because i'm too lazy to refactor a bunch of things because Mojang decided to remove "initial_density_without_jaggedness", but i will in the future
* fix: Remove liftimes from CStatusResponse and CPlayerPosition
* fix: Add lifetimes to CachedBranding and fix tests
* fix: Remove lifetimes from CLoginDisconnect packet, data is dropped immediately after the packet is constructed
* fix: Apply formatting to packet_encoder.rs
---------
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
* Fix redstone wire when interacting with glass and non-full blocks
* Use is_solid_block to determine whether redstone wire should be blocked
* Fix: incorrect uses of BlockState.is_solid()
* run cargo fmt
* split state_flags into 2 u8's and remove BlockState.blocks_wire() methods
* Resolve clippy warning
* Revert state_flags back to a single u16
---------
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>