Commit Graph

1622 Commits

Author SHA1 Message Date
dependabot[bot]
29c5c25ae4 build(deps): bump crate-ci/typos from 1.39.0 to 1.39.2 (#1219)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.39.0 to 1.39.2.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.39.0...v1.39.2)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.39.2
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-11-25 10:41:28 +01:00
Alexander Medvedev
03b3ff5e15 This should prevent some dead locks 2025-11-23 20:08:47 +01:00
spr-equinox
577f51dc1b chunk: rewrite thread scheduling (#1210)
* fix render distance and faster chunklevel

* new schedule method

* clean up

---------

Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2025-11-23 19:49:12 +01:00
Arman
e0805fe406 fix: Prevent the server from binding to java or bedrock ports if they're configured to be disabled (fixes #1173) (#1178)
* 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
2025-11-23 18:55:57 +01:00
Alexander Medvedev
2104367d0e fix: https://github.com/Pumpkin-MC/Pumpkin/issues/1216 2025-11-20 19:40:50 +01:00
kralverde
4d7342122a chore: Chunk generation optimizations (#1171)
* aquifer optimizations

* tweaks

* fix typo

---------

Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2025-11-19 15:11:29 +01:00
Jonas
32027121ce fix: using shears on pumpkin (#1203) 2025-11-19 15:06:09 +01:00
thedb
18486098d5 fix: Fixing flake (#1214)
Moving to the Rust toolchain provided by nixpkgs, and lowering the scope
of what the flake is supposed to do should prevent it from breaking
again.
2025-11-19 14:45:31 +01:00
Alexander Medvedev
0ce5471761 Overhaul registry loading
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.
2025-11-18 19:00:18 +01:00
とぴ。(おーけ
2c26124a90 use const instead of static in some places (#1198) 2025-11-12 18:18:59 +01:00
Omar Afet
2973436a9b feat(protocol): Add resource pack info, improve Ack limits & handle slot errors (#1189)
* Improve error handling for invalid slot action type

* Enforce maximum ACK record limit in packet parsing

* Add resource pack details to CResourcePacksInfo packet
2025-11-09 13:13:19 +01:00
Jonas
e3a565710c Metadata 1.21.9 (sneak problem) (#1191)
* 1.21.10

* sneaking in 1.21.9

* now cicd?
2025-11-09 12:54:32 +01:00
Alexander Medvedev
47bbc56591 this should fix plugin errors
at least for now
2025-11-01 12:13:28 +01:00
Alexander Medvedev
32b76fc730 Revert "ci: add multi-platform Docker image support for ARM64 (#1180)"
This reverts commit ddc57f21f9.
2025-11-01 11:07:52 +01:00
dependabot[bot]
b62b83ec0a build(deps): bump actions/upload-artifact from 4 to 5 (#1207)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 4 to 5.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-27 08:04:25 +01:00
Jonas
09240202fa Update Entity metadata to 1.21.10 (#1192)
* 1.21.10
2025-10-15 09:54:01 +02:00
unschlagbar
e154b394af update to bedrock 1.21.111 (#1193) 2025-10-15 09:52:30 +02:00
Adi
bb24726f5f feat: implement mangrove root block & barrier block (#1172)
* feat: implement mangrove root block

* feat: implement barrier block

* style: cargo fmt
2025-10-15 09:48:37 +02:00
Jonas
ca4f92153a Added Wind Charge and Armor Stand (#1153)
* 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
2025-10-15 09:47:21 +02:00
Vianney Veremme
ddc57f21f9 ci: add multi-platform Docker image support for ARM64 (#1180)
* Add support for multiple platforms in Docker build

* Enhance Docker workflow with QEMU and Buildx setup

Added steps to set up QEMU and Docker Buildx, and login to GitHub Container Registry.

* Refactor Docker workflow for improved clarity

* Remove duplicate GitHub CR login step

Removed duplicate login step for GitHub Container Registry in the Docker workflow.

* Reorder Docker Buildx setup in workflow

* Rename step to 'Docker Buildx' in workflow
2025-10-15 09:44:38 +02:00
Harihar Nautiyal
46a3861825 fix(auth): Implement Secure Bedrock JWT Chain Validation (#1182)
* Implemented jwt validation.

* Formatted

* Fix: Linting

* Formatted again

* Migrated bedrock_jwt to paper_util and optimised validator
2025-10-15 09:43:55 +02:00
dependabot[bot]
7e1f7ce925 build(deps): bump crate-ci/typos from 1.37.2 to 1.38.1 (#1195)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.37.2 to 1.38.1.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.37.2...v1.38.1)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.38.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-13 17:38:55 +02:00
Rafael
cc076f098d feat: Implement EnderChest (#1163)
* feat: Implement ender chest

* fix: Register block entity

* fix: Fix formatting
2025-10-10 21:54:03 +02:00
spr-equinox
e71bccf564 Load-level–based Chunk System (#1157)
* 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>
2025-10-10 21:52:56 +02:00
Alexander Medvedev
0c2b647a45 fix CI
Replaced old chunk files used for testing
2025-10-06 16:14:03 +02:00
Alexander Medvedev
58583da4c1 Port to 1.21.9
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
2025-10-02 18:27:10 +02:00
Alexander Medvedev
85a4d10a36 CI: add rustfmt on clippy step 2025-10-02 17:03:23 +02:00
Alexander Medvedev
932512b5d6 lets try fix CI 2025-10-02 16:54:48 +02:00
dependabot[bot]
58b4c6593a build(deps): bump crate-ci/typos from 1.36.2 to 1.36.3 (#1179)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.36.2 to 1.36.3.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.36.2...v1.36.3)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.36.3
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-10-02 16:47:27 +02:00
unschlagbar
26fadedca2 Goal system rework (life saving)! (#1177)
* initial

* fixed incorect type

* fixed spelling
2025-09-28 10:19:03 +02:00
C0j23T
09f96cc705 Implement equipping armor and resolve difficulty deadlock (#1170)
* feat: implement equipping armour for players

* fix: resolve deadlock when updating world difficulty

* fix: typo && forgot to clippy

* fix: fmt
2025-09-14 09:56:08 +02:00
dependabot[bot]
80741dd47a build(deps): bump crate-ci/typos from 1.35.5 to 1.36.2 (#1167)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.35.5 to 1.36.2.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.35.5...v1.36.2)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.36.2
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-09-08 17:31:11 +02:00
Alexander Medvedev
bbf685622b Update RSA
this should fix some plugin issues
2025-08-31 15:56:46 +02:00
Theo Paris
3d7c416dc8 feat: add a rustfmt config file (#1160) 2025-08-31 11:35:36 +02:00
Alexander Medvedev
91e77c33a0 add more loot table conditions
fix https://github.com/Pumpkin-MC/Pumpkin/issues/1155
2025-08-30 11:58:43 +02:00
unschlagbar
0bc7405f12 fix world y offset & bedrock update (#1121) 2025-08-30 09:27:03 +02:00
vyPal
6cac55e0f0 Repurpose Event trait as generic Payload trait (#1116)
* Repurpose Event trait as generic Payload trait

* Fix clippy

---------

Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2025-08-27 18:00:55 +02:00
dependabot[bot]
726947a864 build(deps): bump crate-ci/typos from 1.35.4 to 1.35.5 (#1150)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.35.4 to 1.35.5.
- [Release notes](https://github.com/crate-ci/typos/releases)
- [Changelog](https://github.com/crate-ci/typos/blob/master/CHANGELOG.md)
- [Commits](https://github.com/crate-ci/typos/compare/v1.35.4...v1.35.5)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.35.5
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2025-08-26 09:06:21 +02:00
Alexander Medvedev
c066787cc1 feat: implement Mob Spawners 2025-08-24 23:02:59 +02:00
Alexander Medvedev
46c048483c fix: thanks typos 2025-08-22 12:31:14 +02:00
Alexander Medvedev
c5c3ffc005 feat: add name tag logic 2025-08-22 12:09:30 +02:00
Connor
736f073b3c fix: Remove liftimes from CStatusResponse and CPlayerPosition (#1128)
* 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>
2025-08-22 09:57:55 +02:00
Sunset Mikoto
23b3517ae5 fix: use static files by include_json_static (#1123) (#1146)
* fix: use static files by include_json_static (#1123)

* chore: add workflow_dispatch to workflows
2025-08-22 09:57:28 +02:00
Alexander Medvedev
8feb6c9b93 feat: add end crystals 2025-08-21 17:54:07 +02:00
Alexander Medvedev
94bdae9684 feat: make totems work 2025-08-21 16:43:13 +02:00
spr-equinox
75afdd059c feat: add /enchant command (#1143)
* add enchant command

* fmt

* use err
2025-08-21 14:45:04 +02:00
Alexander Medvedev
4ad4498380 fix https://github.com/Pumpkin-MC/Pumpkin/issues/1145 2025-08-21 10:35:51 +02:00
KP64
80d0482c78 build: nix user development simplification (#1141)
* 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
2025-08-21 10:03:27 +02:00
Alexander Medvedev
f0668ec746 readme: check eating as complete 2025-08-20 16:31:07 +02:00
Alexander Medvedev
bc2bdb87b2 fix shield blocking
(shields still don't reduce/block damage, but you can block with it)
2025-08-20 16:11:48 +02:00