Commit Graph

5461 Commits

Author SHA1 Message Date
rockquiet c421971eaa fix typo in builtin command conditions (#115)
(cherry picked from commit 3be7b09b7d)
2024-02-09 14:27:43 -05:00
mworzala 9aa34529a9 fix: smithing table has 4 slots, not 3
(cherry picked from commit 6a19940b4d)
2024-02-09 14:27:43 -05:00
mworzala 84a1150afe fix: update advancement packet to 1.20.4
(cherry picked from commit 03ef3e2374)
2024-02-09 14:27:43 -05:00
mworzala 6be9ba629e fix: reenable metadata on exiting configuration
(cherry picked from commit 3bbdb1f0c9)
2024-02-09 14:27:43 -05:00
mworzala 8fafe723ae feat: add properties to configure chunk queue
(cherry picked from commit a910ce359d)
2024-02-09 14:27:43 -05:00
mworzala d7abff5c43 feat: conform to Adventure resource pack API, remove Minestom resource pack types
(cherry picked from commit 40ac94d092)
2024-02-09 14:27:43 -05:00
mworzala 6f30edb411 feat: implement 1.20.2 client-rate-limited chunk batching
(cherry picked from commit e24cb62583)
2024-02-09 14:27:43 -05:00
DeidaraMC 0bb237f737 explosion packet fix, add bundle packet, rename tick rate packet to match wiki.vg (#103)
* packet fixes

* explosion packet touchup

(cherry picked from commit d576228655)
2024-02-09 14:27:43 -05:00
GreatWyrm 6f6a54857e Update block interact event, and add some clarifying Javadocs on what blockItemUse method does (#102)
(cherry picked from commit dfe892aa1a)
2024-02-09 14:27:43 -05:00
GreatWyrm 20bd56ebca Fix block entity data not being resent when a block break event was cancelled (#101)
(cherry picked from commit 2d5fa3a7c7)
2024-02-09 14:27:43 -05:00
DeidaraMC a5b21c48fd fix incorrect skin layer setting (#100)
This seems to be the right place to send the metadata without interfering with the configuration state

(cherry picked from commit 8c3478beca)
2024-02-09 14:27:43 -05:00
Matt Worzala 58b550c5ff Fix testing (v2) (#99)
* Fix Minecraft changes since 1.19 (Block.GRASS, recipe packet, DamageType.VOID)

* Add packets in play state

* Fix some tests via TestConnectionImpl and API changes

* fix: add some missing entity metas, group projectiles

---------

Co-authored-by: GoldenStack <goldenfire64yt@gmail.com>
(cherry picked from commit 89a665fdf5)
2024-02-09 14:27:43 -05:00
DeidaraMC ed13961e90 new scoreboard protocol number format conformance (#98)
* new scoreboard protocol conformance

* fix: pass number format through when reading scoreboard packet

---------

Co-authored-by: mworzala <mattheworzala@gmail.com>
(cherry picked from commit 2003f75f1f)
2024-02-09 14:27:43 -05:00
mworzala e6e16a7a08 fix: do not send login disconnect packet before switching to login state
(cherry picked from commit 6d5b1ea77e)
2024-02-09 14:27:43 -05:00
mworzala c9ee2b56b2 chore: revert (mostly) ConnectionManager#getOnlinePlayers change
(cherry picked from commit 8859af87ba)
2024-02-09 14:27:43 -05:00
mworzala d72e56b4be fix: begin join game sequence only after client acks configuration finish
(cherry picked from commit 197daae608)
2024-02-09 14:27:43 -05:00
mworzala efc0620afe fix: add missing resource pack status events
(cherry picked from commit 89c57bfac6)
2024-02-09 14:27:43 -05:00
mworzala ef2b5e03bc fix: send LEVEL_CHUNKS_LOAD_START state on all instance changes, not just first join
(cherry picked from commit 1813cdb1a8)
2024-02-09 14:27:43 -05:00
mworzala de9dc37aaa chore: update description (ci trigger in reality)
(cherry picked from commit 0d21e487d2)
2024-02-09 14:27:43 -05:00
mworzala 055b927bca upgrade: minor fixes, disable some scoreboard stuff temporarily
(cherry picked from commit db28c44b40)
2024-02-09 14:27:43 -05:00
mworzala 5de3436c71 upgrade: 1.20.4 data, most missing packets
(cherry picked from commit dc6a6089f1)
2024-02-09 14:27:43 -05:00
mworzala 6416e8e441 upgrade: first join
(cherry picked from commit ed06d71ac8)
2024-02-09 14:27:43 -05:00
mworzala 772b484864 upgrade: NBT chat component serializer implementation
(cherry picked from commit ed240d6f14)
2024-02-09 14:27:43 -05:00
mworzala 453194ae43 chore: fix the commit sha used for the published version
(cherry picked from commit 939c5231f6)
2024-02-09 14:27:43 -05:00
mworzala fad5537017 chore: use common function to generate invalid state errors
(cherry picked from commit 7e47136f28)
2024-02-09 14:27:43 -05:00
MelonHell aea1872f4b throw IllegalArgumentException on wrong ConnectionState
(cherry picked from commit 2643c4dec3cb7a5960e88fd662cddd81ff39fbfc)
(cherry picked from commit 01ca4969d8)
2024-02-09 14:27:43 -05:00
mworzala 1b286979c5 chore: minor cleanup
(cherry picked from commit ac4c54731c)
2024-02-09 14:27:43 -05:00
MelonHell a588e2a652 Fix #76 (#81)
(cherry picked from commit 8fcb53e498)
2024-02-09 14:27:43 -05:00
MelonHell 787c56126e Fix shulker meta (#80)
(cherry picked from commit d798a8128e)
2024-02-09 14:27:43 -05:00
mworzala 1ffb46c3b2 fix: correct display pos/rot interpolation metadata index, minor cleanup
(cherry picked from commit ccdc5535e3)
2024-02-09 14:27:43 -05:00
mworzala e2d6439037 fix: add new display entity metadata for position/rotation interpolation
(cherry picked from commit 0665f17c33)
2024-02-09 14:27:43 -05:00
mworzala 4e2dfee232 chore: increase publish timeout to 1h
(cherry picked from commit 300a09f0b6)
2024-02-09 14:27:43 -05:00
mworzala 87908eb32a chore: update data values to 1.20.2
(cherry picked from commit b6b0295961)
2024-02-09 14:27:43 -05:00
mworzala 43baf51d8d fix: assume viewable storage is only used for play packets
(cherry picked from commit 9c1781b722)
2024-02-09 14:27:43 -05:00
mworzala a0d87f2e91 fix: remove apiNote javadoc tags
(cherry picked from commit daf3e68cc8)
2024-02-09 14:27:43 -05:00
mworzala bd58b1b9f6 feat: cleanup, remove ConnectionManager#getOnlinePlayers
(cherry picked from commit 8a75e9e986)
2024-02-09 14:27:43 -05:00
mworzala 814f739116 feat: player spawning fixes
(cherry picked from commit 50b868229a)
2024-02-09 14:27:43 -05:00
mworzala d4754c1f1d feat: working (scuffed) reentry after reconfiguration
(cherry picked from commit 3ad490356a)
2024-02-09 14:27:43 -05:00
mworzala b9c2d42696 feat: start reentry of config phase
(cherry picked from commit e702c09f06)
2024-02-09 14:27:43 -05:00
mworzala fb0c8c5405 fix: publish to minestom-snapshots
(cherry picked from commit f73d8faf9e)
2024-02-09 14:27:43 -05:00
mworzala f4176da37a chore: javadoc updates
(cherry picked from commit fd82eaed82)
2024-02-09 14:27:43 -05:00
mworzala 56f2ec46df chore: experiment with publishing snapshots from PR branches
(cherry picked from commit 390579f3ba)
2024-02-09 14:27:43 -05:00
mworzala d324d47cab chore: remove some unnecessary logging
(cherry picked from commit b04fca8e7f)
2024-02-09 14:27:43 -05:00
mworzala 5caffb134c feat: add AsyncPlayerConfigurationEvent, remove PlayerLoginEvent
(cherry picked from commit 1161fbf1b1)
2024-02-09 14:27:43 -05:00
mworzala bad9e80c88 chore: other melonhell pr changes
(cherry picked from commit 266040cfa7)
2024-02-09 14:27:43 -05:00
mworzala 9439b62ff0 chore: port DamageType cleanup change from MelonHell 1.19.4 PR
(cherry picked from commit 9eab3d4f8b)
2024-02-09 14:27:43 -05:00
mworzala d0ace48220 feat: use nextState on packet write to change states to ensure proper synchronization
(cherry picked from commit d502a4fa62)
2024-02-09 14:27:43 -05:00
mworzala 89f9b0d513 first join
(cherry picked from commit 47042abf12)
2024-02-09 14:27:43 -05:00
mworzala 183159c85d finish configuration phase, ish
(cherry picked from commit 13edf5f863)
2024-02-09 14:27:43 -05:00
mworzala 2f85ce0231 stable configuration state join
(cherry picked from commit 465af0e051)
2024-02-09 14:27:43 -05:00