Commit Graph

1610 Commits

Author SHA1 Message Date
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
Alexander Medvedev
684db059e5 feat: Support for eating food 2025-08-19 20:46:52 +02:00
Alexander Medvedev
314547eb5f entity: Arc<RwLock<Arc<World>> to Arc<World>
This removed a bunch of locks and .awaits, now instead of switching the world inside a entity we will just recreate it in a new World
2025-08-19 13:03:52 +02:00
ht06
36d6356532 fix: end rod: delete particles (#1137) 2025-08-18 23:25:40 +02:00
ht06
3b1fffcb6e feat: add french translation (#1135) 2025-08-18 18:23:57 +02:00
ht06
c3e933e6eb Implement End rod (#1136)
* feat: end rod placement + particles (almost work)

* fix: placement + particles (all Done)

* fix: clippy
2025-08-18 18:21:57 +02:00
Bram
56ad480ba2 Fix redstone wire with non-solid blocks (#1124)
* 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>
2025-08-18 18:11:42 +02:00
Alexander Medvedev
47254b14ba Structures: begin adding Nether Fortress 2025-08-18 17:59:14 +02:00
Crefax
398ba39233 feat(tr): Add Some Turkish translations (#1132)
* feat(tr): Add Turkish translations

* Fix formatting issue in translation.rs
2025-08-18 09:12:04 +02:00
dependabot[bot]
2bf30cc875 Bump actions/checkout from 4 to 5 (#1133)
Bumps [actions/checkout](https://github.com/actions/checkout) from 4 to 5.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/checkout
  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-08-18 09:11:00 +02:00
dependabot[bot]
17135acebc Bump crate-ci/typos from 1.35.3 to 1.35.4 (#1134)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.35.3 to 1.35.4.
- [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.3...v1.35.4)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.35.4
  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-18 09:10:54 +02:00
Alexander Medvedev
a65b30db02 fix typos 2025-08-17 22:17:06 +02:00
Alexander Medvedev
53cef4b050 Add structures
this is by far not done and the implementation is not correct in many ways, but it is still something
2025-08-17 22:12:38 +02:00