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
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>
* 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
* improve tag v1
* improve tag v2
* fix typo and make BlockPredicate better
* improve get state from state id
* make tag pub
* Update tag.rs
* fix error
* Update hopper.rs
* Update hopper.rs
* Tick Command Implementation
* Send the current ticking state to the new player so they are in sync.
* extend `/tick query` command with performance tracking
* feat: enhance tick sprint reporting and message formatting
* Add suggestion hints for tick command arguments
* fix: update tick command permission level
* fix: resolve clippy pedantic warnings and refactor tick command
- Refactor oversized execute function in tick command into smaller helper methods:
- handle_query() for query command logic
- handle_non_sprinting_status() for status display
- send_percentiles() for percentile calculations
- handle_step_command() and handle_sprint_command() for respective operations
- Fix format string warnings by using inline format arguments ({tickrate:.1})
- Replace lossless casts (ticks as i64) with From::from() for type safety
- Use Self instead of explicit type name in tick_worlds method signature
- Add Default trait implementation for Ticker struct
- Ensure all match arms return proper Result types
Resolves all clippy::pedantic warnings including too_many_lines, uninlined_format_args, cast_lossless, and use_self violations.
* fix: replace hardcoded tick rate with configurable value from BASIC_CONFIG
* revert back the old comment