implements the minecraft:potion_contents data component which was causing
server crashes when players clicked on potions or tipped arrows in creative
mode
fixes#1309
Its works, but block state ids are currently not mapped, meaning that when using the current default world gen the client mostly will disconnect due to a not found block state id, vanilla version compatible worlds should work
it is gone for good, i made the new registry be parsed from compile time in pumpkin-nbt and even parse the nbt code at compile time as well, And like expected this gives a massive speedup in first time parsing and also decreased bin size
* scheduled ticks for banners
* scheduled ticks and can place at for cakes
* add pitch to world spawn and setworldspawn command
* add ability migrate LevelDat from SpawnAngle to SpawnYaw
* backwards compatibility
* use minecraft name for setworldspawn
make PlayerSpawnPosition not panic anymore
fix infinite skipping of night when no players were online
* fix more clippy lints
* send abilities update on initial spawn
* Revert "fix more clippy lints"
This reverts commit 19d4ae56f8.
* .-.
* implement advance time gamerule
* still tick world_age
* advance weather
* add dropping of inventory on death
* keep inventory gamerule
* clippy
---------
Co-authored-by: CuzImClicks <cuzimclicks@proton.me>
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
* 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
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