Commit Graph

5942 Commits

Author SHA1 Message Date
mworzala
32735340d7
fix: re-add missing step in actions 2025-01-26 08:41:18 -05:00
Phillipp Glanz
f3e7d55610
fix: Add missing environment variables for build workflow (#2631) 2025-01-26 08:35:16 -05:00
Phillipp Glanz
ff4c8b97d9
chore: Rework workflows for github (#2628)
* chore: Rework workflows for github

* feat: Add publish workflow via PR

* Trigger Build

* feat: Add name and improve if conditions
2025-01-25 07:30:59 -05:00
mworzala
96543a894f
fix: correctly read holder registry references 2025-01-24 22:16:57 -05:00
mworzala
c2b596eb9b
fix: support writing debug stick to network 2025-01-24 20:03:31 -05:00
mworzala
ae1366835b
fix: switch banner pattern, painting variant, wolf variant, trim material, trim pattern to be stubbed 'holder' registry network types 2025-01-24 19:40:30 -05:00
hapily
dcd9b703f1
fix: suggestion callback not sending (#2541)
* fix: suggestion callback not sending

* tests no longer failing

* fix spacing

* fix: typo in comment

---------

Co-authored-by: Phillipp Glanz <6745190+TheMeinerLP@users.noreply.github.com>
2025-01-24 18:45:41 -05:00
Phillipp Glanz
fc4de1d69e
feat: Add projects into issue template (#2627) 2025-01-24 19:26:59 +01:00
Phillipp Glanz
6ff902b016
chore: Add issue templates for more structure (#2624)
* chore: Add issue templates for more structure

* Update .github/ISSUE_TEMPLATE/bug.yml

Co-authored-by: Christian Bergschneider <christian.bergschneider@gmx.de>

* Update .github/ISSUE_TEMPLATE/feature.yml

Co-authored-by: Christian Bergschneider <christian.bergschneider@gmx.de>

* Update .github/ISSUE_TEMPLATE/bug.yml

Co-authored-by: Christian Bergschneider <christian.bergschneider@gmx.de>

* chore: Remove required for code sample and step of reproduce

---------

Co-authored-by: Phillipp Glanz <--global>
Co-authored-by: Christian Bergschneider <christian.bergschneider@gmx.de>
2025-01-24 19:14:44 +01:00
Christian Bergschneider
3bad93ea50
fix: don't recompile uuid pattern on every match (#2625) 2025-01-24 18:07:12 +00:00
Spliterash
e525fe523a
try finnaly unlock LightingChunk#createLightData (#2626) 2025-01-24 12:59:26 -05:00
Benjamin Kosten
b1c827e9c5
Update docs in UnityModifier.java (#2436)
Change incorrect javadoc method description from biome to block

Co-authored-by: Phillipp Glanz <6745190+TheMeinerLP@users.noreply.github.com>
2025-01-24 16:09:59 +01:00
Phillipp Glanz
ad30ad28ed
chore: Add pull request template (#2622)
Co-authored-by: Phillipp Glanz <--global>
2025-01-24 09:30:54 -05:00
Christian Bergschneider
ae02432319
refactor: move from getUniqueId() to getUuid() and related (#2621)
* refactor!: move from getUniqueId() to getUuid() and related

This commit solves #1616. See that issue for more details.

BREAKING CHANGE: Public API of Instance has changed! getUniqueId() -> getUuid()

* fix: add back getUniqueId as deprecated

* fix: add back getUniqueId as deprecated

* chore: improve java docs

---------

Co-authored-by: Phillipp Glanz <--global>
2025-01-24 14:18:10 +00:00
Kerman
b95ccef951
Dont floor BlockVec again. (#2618) 2025-01-24 14:02:24 +00:00
Cosmic
392307df64
chore: make PNode's getType method public (#2619) 2025-01-23 15:20:12 -05:00
Kerman
7589b3b655
BoundingBox updates (#2613)
* Introduce grow & growSymmetrically into BoundingBox.

This will allow people to create center (Feet aligned) bounding boxes easier. This was a bit easier to do when all boxes were considered centered but that has since been reverted.

* Update BoundingBox#grow to hold its double use computed variables once.
Also changes growSymmetrically to just use grow's implementation.
2025-01-22 21:14:46 +00:00
Phillipp Glanz
e1d0366841
fix: Add game events for packet registry (#2612) 2025-01-22 06:20:23 +01:00
Lorenz Wrobel
0d47d97417
Fix EventNode bug where listeners aren't firing (#2529)
* add new test for RecursiveEvents

* fix recursive event calling

* implement by looping
2025-01-19 13:26:22 +00:00
UltraDev
c1a3ee6aca
Remove reset of values from PaletteIndirect (#2590)
* Remove reset of values from PaletteIndirect

* Add test for PaletteIndirect constructor
2025-01-19 13:22:25 +00:00
Oleg Ivanov
6f107c7f88
Add server flag for ChunkUpdateLimitChecker history size (#2596)
* Add server flag for ChunkUpdateLimitChecker history size

* Fixup server flag for ChunkUpdateLimitChecker history size
2025-01-19 13:16:29 +00:00
Leon
807a887fbd
fix: Remove player from configurationPlayers Set when player connects (#2605) 2025-01-19 08:07:25 -05:00
TheCodingDuck
b80c799750
fix: double sending of disconnect events (#2594) 2025-01-14 19:25:01 +10:00
mworzala
c96413678c
fix: do not try to re-resize while at max packet buffer size 2025-01-11 18:26:11 -05:00
Matt Worzala
55bcfaa07b
fix: clamp player position to prevent overflow issues (#2587) 2025-01-10 23:44:02 +00:00
UltraDev
a556e5a8f2
Skip size varint when reading single palette (#2592) 2025-01-10 16:29:32 -05:00
Kerman
1d0f512256
Adds STRING_IO_UTF8 to the network buffer (#2583)
This allows writing messages to the proxy easier. (not like they could have used a normal minecraft string)
2025-01-06 08:28:48 -05:00
mworzala
10d6d2bb2e
Revert "Fixed boundingBox.withOffset() (#2488)"
This reverts commit 18d6e0c6d6, it was previously a breaking change that did not make a lot of sense, and broke other methods.
2025-01-04 11:40:03 -05:00
mworzala
07bd1c12b6
fix: really do not cast block state to short (#2543 part 2) 2025-01-02 21:17:49 -05:00
Nex
4d3154b68c
Fix to issue #2470 (#2576)
* Calculates the squared distance from the player's eye position to the closest point on the entity's bounding box, this also improves the accuracy of interaction range enforcement (preventing interactions w/ entities outside the allowed range regardless of bounding box size)

* unit testing

* unit testing
2025-01-02 19:32:40 -05:00
mworzala
d8c5831f4e
fix: do not cast block state to short (fixes #2543) 2025-01-01 08:51:08 -05:00
mworzala
5174263f83
fix: make PlayerInfoUpdatePacket ComponentHolding for automatic translation (fixes #2572) 2025-01-01 08:46:55 -05:00
Leon
698af959c8
fix: synchronize item entity hitting ground to stop bouncing (#2544) 2024-12-29 16:10:32 +00:00
mworzala
719e14bd79
chore: better handle entities being removed in EntityProjectile 2024-12-29 09:58:33 -05:00
Matt Worzala
9803f2bfe3
chore: file registries (#2538) 2024-12-26 18:14:01 +00:00
mworzala
187931e50b
chore: broaden closed channel handling 2024-12-26 13:11:25 -05:00
Leon
2065f63f82
fix: ensure block is not in unloaded chunk in Player#canFitWithBoundingBox (#2535) 2024-12-23 07:46:44 -05:00
mworzala
c976f345d1
fix: bring back riptide option to item use events 2024-12-21 17:06:33 -05:00
mworzala
7b659f0fc3
fix: do not try to equip "body" equipment to players 2024-12-16 14:22:46 -05:00
mworzala
d707b0674f
fix: flipped equipmentslot ids (fixes #2515) 2024-12-16 10:19:50 -05:00
GoldenStack
989ed1b517
Last slot ID is exclusive, so include 8 (#2523) 2024-12-14 13:10:46 +00:00
Aeltumn
59d1d810e3
Fix re-registering vanilla registry objects not working properly (#2522)
Old implementation caused duplicate entries which causes a client protocol error
2024-12-14 08:07:58 -05:00
mworzala
11d7530dfc
fix: javadoc missing quote 2024-12-10 17:45:34 -05:00
GreatWyrm
4e93f469dc
Change Additional Hearts default to 0 instead of 1 (#2517) 2024-12-10 22:38:45 +00:00
GreatWyrm
f4da32d3fb Replace wiki vg links with the Minecraft wiki links 2024-12-10 17:36:22 -05:00
GreatWyrm
39db19bdc5 Fix boat metadata, and prevent packet spam when riding a boat 2024-12-10 17:33:25 -05:00
mworzala
3088dac868
fix: item frame metadata index fix 2024-12-10 17:29:10 -05:00
mworzala
d760a60a5c fix: keep ordering 2024-12-06 18:48:51 -05:00
mworzala
b09b141481 chore: rename and explanation changes 2024-12-06 18:48:51 -05:00
steank
749ade6786 chore: annotate EquipmentSlot#equipmentSlot as internal 2024-12-06 18:48:51 -05:00