Commit Graph

1935 Commits

Author SHA1 Message Date
dependabot[bot]
52967aeb56 build(deps): bump actions/download-artifact from 7 to 8 (#1773)
Bumps [actions/download-artifact](https://github.com/actions/download-artifact) from 7 to 8.
- [Release notes](https://github.com/actions/download-artifact/releases)
- [Commits](https://github.com/actions/download-artifact/compare/v7...v8)

---
updated-dependencies:
- dependency-name: actions/download-artifact
  dependency-version: '8'
  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>
2026-03-02 08:13:15 +01:00
dependabot[bot]
b813f4b91c build(deps): bump actions/upload-artifact from 6 to 7 (#1775)
Bumps [actions/upload-artifact](https://github.com/actions/upload-artifact) from 6 to 7.
- [Release notes](https://github.com/actions/upload-artifact/releases)
- [Commits](https://github.com/actions/upload-artifact/compare/v6...v7)

---
updated-dependencies:
- dependency-name: actions/upload-artifact
  dependency-version: '7'
  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>
2026-03-02 08:13:03 +01:00
dependabot[bot]
527bc30240 build(deps): bump crate-ci/typos from 1.43.5 to 1.44.0 (#1774)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.43.5 to 1.44.0.
- [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.43.5...v1.44.0)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.44.0
  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>
2026-03-02 08:12:42 +01:00
Greened
ffde145ea2 Add Spore blossom block (#1735)
* feat: spore blossom block

* chore: make requested changes

* chore: rename block var to ceiling_block
2026-03-01 15:04:14 -05:00
WCBBEX
17118be2d1 fix(hunger): implement naturalRegeneration gamerule check (#1764) 2026-03-01 04:06:38 -05:00
yunuservices
d4dd87e548 feat(event): add PlayerEggThrowEvent (#1753)
* feat(event): add PlayerEggThrowEvent

* Refine egg throw event typing and safety

* Tidy egg throw event handling after review
2026-03-01 01:48:45 -05:00
RB007
b02243ca3e fix: nether portal crash (#1710)
* fix: nether portal crash

* fix: hardcoded stage max and updated self-dependency path

* refactor: use ensure_dependency_chain and add tests

* chore: a few recommended changes

* fix: DAG issues and clippy

* chore: improve test coverage
2026-03-01 05:28:10 +00:00
yunuservices
0116f5cf16 feat(event): add BlockGrowEvent for crop growth (#1752)
* feat(event): add BlockGrowEvent for crop growth

* Polish block grow event API and docs
2026-03-01 04:15:53 +00:00
Joseph Rimmer
58badd3bee fix: allow tall plants to place their upper half (#949) (#1738)
* fix: allow tall plants to place their upper half (#949)

* fix: breaking tall plant's break other half
2026-02-28 17:17:55 -05:00
Grooble
cbdc919aff fix: boss bars & effects (#1766)
* fix: integer overflow & infinite effects

* fix: bossbar encoding

* fix formatting
2026-02-28 17:00:01 -05:00
Laptop59
d6dec5f9ea fix: keep blockstate for falling blocks (#1757)
* make anvil (and some other blocks) not reset to default block state when falling

* formatted code
2026-02-27 18:40:33 -05:00
RB007
c40ac36a65 fix: some entity effects and attributes system (#1526)
* fix: several effects (ticking and instant)

* chore: clippy and formatting

* fix: optimize send_attribute_update calls and stored active_effects

* feat: add infested support

* feat: per-entity attributes system

* refactor: clean up living.rs and apply some fixes

* feat: attributes system, absorption, and health boost!

* chore: clippy and formatting

* chore: oof

* chore: installed typos lol

* fix: updated some default attributes

* fix: glowing and invisibility

* fix: imports and proper base_damage

* fix: remove effect damage dupe from try_attack

* fix: bat default attributes

* fix: silverfish default attributes

* fix: check local attribute base first

* Remove erroneous comment (near glowing effect removal)

forgot to remove this after copying the block from add_effect 💀

* fix: update other mob default attributes
2026-02-27 17:51:33 +01:00
vyPal
558476a312 fix: ptero egg (#1498)
* Fix ptero egg

* Auto edit ports in config, and fix startup command
2026-02-27 17:48:37 +01:00
yunuservices
9110727567 feat(event): add playeritemheldevent (#1733)
* Add PlayerItemHeldEvent

(cherry picked from commit 2892ab9b41)

* chore: sync item-held branch with master and fix clippy

* refactor(event): remove duplicated module prefix in event file names

* style: apply rustfmt

* refactor(event): use u8 slots in PlayerItemHeldEvent
2026-02-27 00:23:27 -05:00
yunuservices
e19686d800 feat(event): add spawnchangeevent (#1730)
* Add SpawnChangeEvent

(cherry picked from commit 65ed318255)

* style: run cargo fmt

* feat(event): add yaw and pitch to SpawnChangeEvent
2026-02-27 00:08:56 -05:00
YAJ-54S12G-1
de1dd65db3 ko_kr translation (#1728) 2026-02-26 01:26:57 -05:00
miutonic
9e256d2228 feat: add Romanian (ro_RO) translation (#1724) 2026-02-26 01:25:40 -05:00
Richard Marshall
c74a72a176 fix(translation): fix off-by-one crash in locale array and bounds check (#1725)
the translations array was sized as Locale::last() (127) but needed
128 elements, causing out-of-bounds access for the last locale variant.
also added bounds check in reorder_substitutions to prevent panic when
% appears near the end of a translation string.

closes #1709
2026-02-26 02:01:02 +00:00
yunuservices
2c34328b62 feat(event): add playerfishevent (#1654)
* Add PlayerFishEvent

(cherry picked from commit 95323796e7)

* chore: sync fish branch with master and fix clippy

* refactor(event): remove duplicated module prefix in event file names

* style: apply rustfmt

* feat(event): fire PlayerFishEvent on fishing rod use

* refactor(event): split handle_use_item helper flow for clippy

* refactor(event): use enums in PlayerFishEvent
2026-02-25 18:03:11 -05:00
RB007
4be0cb6588 feat: add kelp feature (#1717) 2026-02-25 16:18:07 +01:00
gula00
95fe4064c8 fix: bed obstruction check and guard counterpart break (#1696) 2026-02-25 16:16:30 +01:00
Francesco Montefusco
859ec5ae3b fix: spectators can no longer pickup items (#1699)
* fix: spectators can no longer pickup items

added a check for spectator gamemode

Close: #1617

* style: moved condition in OR statement
2026-02-25 10:05:49 +00:00
yunuservices
9352d1ff7f feat(event): add playerexpchangeevent (#1653)
* Add PlayerExpChangeEvent

(cherry picked from commit 5e806306d0)

* chore: sync expchange branch with master and fix clippy

* refactor(event): remove duplicated module prefix in event file names

* style: apply rustfmt

* fix(event): align exp change hook with reviewer expectations

* fix(command): resolve exp add call for Arc-based player method

* refactor(command): use Arc<Player> in experience modify path
2026-02-25 01:37:13 -05:00
yunuservices
1978605d14 fix(event): avoid duplicate BlockBreakEvent and honor drop flag (#1666)
* Avoid duplicate BlockBreakEvent and honor drop flag

(cherry picked from commit 2431d4a9c5)

* chore: sync blockbreak-duplicate branch with master and fix clippy

* fix(event): skip block break event for air blocks
2026-02-24 20:08:32 -05:00
yunuservices
6c3e9696d0 feat(event): add playerchangedmainhandevent (#1647)
* Add PlayerChangedMainHandEvent

(cherry picked from commit 7384c2d1c7)

* fix: make changed-main-hand branch clippy-clean

* refactor(event): remove duplicated module prefix in event file names

* style: apply rustfmt
2026-02-24 20:01:45 -05:00
Illyrius
4d0c089e9a init (#1627)
Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>
2026-02-24 19:48:07 -05:00
Illyrius
645cb9afb5 feat: nl_be translation (#1628)
* init

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>

* fix missing bracket

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>

---------

Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>
Signed-off-by: Illyrius <28700752+illyrius666@users.noreply.github.com>
2026-02-24 19:42:30 -05:00
YAJ-54S12G-1
21b22ff63a Add Traditional Chinese, Fix Simplified Chinese (#1705)
* zh_tw translation

* zh_hk translation

* translation fix: zh_cn, zh_hk, zh_tw
2026-02-24 19:24:15 -05:00
Greened
e9d3de8184 Crimson and Warped Fungus implementation (#1693)
* feat: Crimson and Warped Fungus implementation

* chore: restructure
2026-02-24 18:48:30 -05:00
Illyrius
483e872d09 feat: de_de translation (#1629)
Signed-off-by: illyrius666 <28700752+illyrius666@users.noreply.github.com>
2026-02-24 08:52:06 +01:00
Richard Marshall
b72256b7b2 feat: enderman ai (#1579) 2026-02-24 02:58:55 +00:00
Richard Marshall
227e9fc1b6 feat: pig ai (#1593)
* pig ai

* fix: escape danger fire check, grounded targets, tempt goal perf

* add movement speed and fix escape danger speed

* fix rebase: remove double box and fix fmt

* trigger ci
2026-02-24 00:19:01 +00:00
とぴ。(おーけ
44989c86f4 feat: More compatible Java Edition versions (>=1.21) (#1435)
* 1.21.9

* 771: 1.21.6

* 770: 1.21.5

* 769: 1.21.4

* better impl

* missing data

* 768: 1.21.2

* added >=1.21.2 mapping

* impl abstract remapper.

* added entity_id remap

* fix commands packet (<1.21.6)

* fix 1.21.4 level_chunk_with_light

* fix reading packet

* fix sneak <=1.21.6

* Merge branch 'master' into protocol

* fixed `level_chunk_with_light` packet (<=1.21.4)

* 767: 1.21

* fixed `login_finished` packet (<=1.21.1)

* fixed `login` packet (<=1.21.1)

* fixed `player_position` packet (<=1.21.1)

* fixed `set_held_slot` packet (<=1.21.1)

* fixed `set_time` packet (<=1.21.1)

---------

Signed-off-by: とぴ。(おーけ <support@topi-banana.com>
Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2026-02-23 12:06:37 +01:00
dependabot[bot]
0a06eb9e50 build(deps): bump crate-ci/typos from 1.43.4 to 1.43.5 (#1695)
Bumps [crate-ci/typos](https://github.com/crate-ci/typos) from 1.43.4 to 1.43.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.43.4...v1.43.5)

---
updated-dependencies:
- dependency-name: crate-ci/typos
  dependency-version: 1.43.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>
2026-02-23 11:34:12 +01:00
Greened
1452a192c1 feat: finalize wither-rose implementation (#1692) 2026-02-22 22:39:19 +01:00
Illyrius
c929d54b8a feat: nl_nl translation (#1626) 2026-02-22 19:44:52 +01:00
Alexander Medvedev
12acb8aa76 fix: CI 2026-02-22 16:42:41 +01:00
Laptop59
ca97b2855e fix: make armor stands fall (#1689)
* armor stands now fall by adding `get_gravity` function

* fixed value to be correct
2026-02-22 15:32:45 +01:00
Alexander Medvedev
bc205d2683 feat: pumpkin-protocol: add fuzzing
actually found some issues
2026-02-22 15:24:36 +01:00
Richard Marshall
125afc7f14 feat: tps command (#1669)
* tps command

* use configured tps for cap and color thresholds
2026-02-22 12:06:35 +01:00
RB007
2996487160 refactor: parse placed and configured features at compile time (#1680)
* refactor: parse placed and configured features at compile time

* fix: remove serde_json from pumpkin-world

* fix: lib.rs imports

* 🥀

* refactor: stripped serde from features and moved generated code to pumpkin-data

* Remove: include_json_static

---------

Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2026-02-22 11:55:08 +01:00
Alexander Medvedev
32a5c52423 fix: CI
hopefully
2026-02-21 21:28:00 +01:00
Brave
93fca02b0e fix: block-break flickering again (#1683)
* Fix block-break flickering

Move CAcknowledgeBlockChange sending out of immediate per-player send into the world flush path so acknowledgements are enqueued and sent during world flush. world/mod.rs now iterates players to swap and enqueue CAcknowledgeBlockChange for any pending sequence. Also call update_sequence(...) in Java play handlers to update the player's packet sequence when handling player actions.

* thats better

* fix: typo

* Update play.rs

---------

Co-authored-by: Alexander Medvedev <lilalexmed@proton.me>
2026-02-21 20:58:44 +01:00
Laptop59
8557cd93c7 feat: implement new command system to achieve complex vanilla commands (#1681)
* added StringReader and its errors

* fixed clippy errors in tests

* removed unnecessary '_ from &

* removed unnecessary `Box`

* added argument types, string range and suggestions

* removed Simple and Dynamic error types in favor of one struct and changed size of `TextComponent`

* formatted with `cargo fmt`

* fixed spelling error

* removed unnecessary (default) leftover from experimentation

* added tests and adjusted for arg type changes

* fixed some spellings in doc comments

* added some node-related structs

* initial commit

* no compile-time errors now

* removed code with compile-time testing

* formatted code

* fixed some clippy warnings

* fixed the remaining clippy warnings

* added some tests, refactored due to test results

* forget to remove fork, using redirect instead, formatted code

* fixed clippy warnings

* added some tests

* added some more tests & sorting `Suggestion`s

* using new pumpkin_data::translation for translation keys

* formatted

* removing misleading panic message

* added check for adding command node type

* added more documentation

* added permission requirement support for any node

* removed remnants of freeing nodes in tree for now, as it has risks with redirection

* removing doc comment that was true earlier while experimentation

* fixed doctest error

* relaxed Clone restriction on `Item` in `ArgumentType` and made `get_argument` return a reference instead of cloning

* fix doctest
2026-02-21 20:57:54 +01:00
Alexander Medvedev
4afe60aca9 chore: i'm back 2026-02-21 20:52:37 +01:00
RB007
0ed3c8d9df fix: send proper dimension/timeline tag data (#1684) 2026-02-21 14:29:20 +01:00
Richard Marshall
33cb4e5f23 permission check event (#1671) 2026-02-20 01:39:18 +00:00
Richard Marshall
392d1813f8 chicken ai (#1606)
* feat: chicken ai with escape panic, tempt, and wandering

* add egg laying

* fix escape danger speed and add alive guard on egg laying
2026-02-20 01:04:35 +00:00
RB007
dfb24bf76f fix: proj pos regression (#1616) 2026-02-20 00:45:18 +00:00
Richard Marshall
8bd5009178 cow ai (#1605)
* feat: cow ai with escape panic, tempt, and wandering

* make escape danger speed configurable

* trigger ci

* fmt fix
2026-02-19 03:57:17 +00:00