* 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>
* chore: add treewide nix formatting
This allows nix users to format more filetypes than just the `.nix` files. Treefmt-nix is partitioned to a `dev` flake. Refer to the corresponding flake description as to why this was done.
* style: nix fmt
* build: nix caching, sync nix toolchain to rust-toolchain.toml
Nix triggers a full rebuild on any file change. Even for changes on 'non src' relevant files, like e.g. the readme file. This fixes the caching issues, syncs the 'nixified' rust toolchain with the rust-toolchain.toml file, and moves checks and devShells to the development partition.
* chore: add rust-analyzer and rust-src components
Unless the rust-analyzer & rust-src components are installed somewhere else developers will not have a LSP and the rust std docs available. This installs those components for the specified channel, which is especially useful for Nix users.
* chore: remove taplo
Taplo defaults to 2 Spaces, but setting them to 4 doesn't work either for whatever reason. Therefore the removal.
* style: 4 instead of 2 spaces
Reverts the "mistake" by the taplo formatter
* chore: re-add taplo but with 4 spaces
* style: revert unnecessary Cargo.toml formatting
* 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>
* Added some Simplified Chinese translations.
This is my first Pumpkin PR, and it means the world to me. (≧∇≦)🎃
* Added Simplified Chinese
* Added Simplified Chinese
doing `let _ = io::copy(&mut self.reader.by_ref().take(count), &mut io::sink())` was just crazy slow when skipping bytes in NBT, we now instead use `seek`
The Palette was also changed and does not use a HashMap anymore
* Custom translations!
Added to TextComponents custom translations, allowing to send commands in the current player locale.
* Ignoring locale's typos
* Paired reorder_substitutions with vanilla
Changed how reorder substitutions work to match how vanilla allows to join next and numeral substitutions.
* Workers instead of spawning on chunks
* Piority
* Remove piority - broken
* Non arbitary worker threads number
* Make info to debugs
* fix clippy
* New rust version clippy fixes
* Use the same system for entity chunks
* Fix all warnings
* Fix clippy
* Fix benchmark
* feat: chain placement
* feat: lantern placement
* fmt + clippy
* all good
* all good
---------
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>