Commit Graph

4995 Commits

Author SHA1 Message Date
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
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
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
Tyreece Rozycki
2b236b441c fixes recipes for 1.20.1 (and probably 1.20.4) (#95)
* fixes recipes for 1.20.1 (and probably 1.20.4)

* add support for smithing trims and transforms

(cherry picked from commit 78cb62fa72)
2024-02-09 14:27:43 -05:00
MrBretzel
0920b90195 Add more method to Entity for PotionEffect (#85)
(cherry picked from commit 8edc9981d0)
2024-02-09 14:27:43 -05:00
mworzala
6a246d2ce4 fix(hack): disable scaffolding from bounding box checks in player pose updates
(cherry picked from commit 2f3eeb5c2d)
2024-02-09 14:27:43 -05:00
mworzala
1c141e34c1 fix: allow placing at min y level
(cherry picked from commit 1554487748)
2024-02-09 14:27:43 -05:00
mworzala
6d229a0601 fix: ack block use when interacting but not placing.
(cherry picked from commit a22d769740)
2024-02-09 14:27:43 -05:00
mworzala
58c03cc8d2 fix: ensure block placements can only happen inside the world border
(cherry picked from commit 0c5a177281)
2024-02-09 14:27:43 -05:00
mworzala
9b794c2077 fix: re-fix the shape parsing issue
(cherry picked from commit d217e4d5b1)
2024-02-09 14:27:43 -05:00
mworzala
271e3f4e91 fix: correctly handle clientside single block replacement
(cherry picked from commit 219f52bd58)
2024-02-09 14:27:43 -05:00
mworzala
f4a123192b fix: bad collision shape parsing
(cherry picked from commit 666bb98957)
2024-02-09 14:27:43 -05:00
mworzala
cb7014b2eb feat: add experimental player pose update logic
(cherry picked from commit d8ef618d08)
2024-02-09 14:27:43 -05:00
hapily04
ddcfccd7dd Entity Position Sync fix (#72)
(cherry picked from commit 2c4fbf4964)
2024-02-09 14:27:43 -05:00
hapily04
8d117164f6 Proper sound seeding (#74)
Co-authored-by: iam <iam4722202468@users.noreply.github.com>
(cherry picked from commit 9e2a200243)
2024-02-09 14:27:43 -05:00
hapily04
066eeda6dd Concurrent Modification Fix (#73)
Co-authored-by: iam <iam4722202468@users.noreply.github.com>
(cherry picked from commit eaf3d5311c)
2024-02-09 14:27:43 -05:00
mworzala
b7e3b40147 fix: update RespawnPacket to use dataToKeep bitset
(cherry picked from commit e146a9393e)
2024-02-09 14:27:43 -05:00
mworzala
941390fb87 fix: send empty NBT tag on items without NBT data (fixes #66)
(cherry picked from commit 5bcc72b911)
2024-02-09 14:27:43 -05:00
GoldenStack
061c2c98f1 hollow-cube/remove-default-damage-behaviour (#64)
* Remove automatic void damage

* Remove automatic fire damage

(cherry picked from commit 517b195b5e)
2024-02-09 14:27:43 -05:00
Samuel
7174ce2b21 hollow-cube/editentitymeta_function (#62)
* Add editEntityMeta

* Log entityType instead

* finally

(cherry picked from commit 30699ec3fd)
2024-02-09 14:27:43 -05:00
Samuel
b1b33b9df8 hollow-cube/entity-despawn-hooks (#63)
* Add Entity::despawn

* Clarify that despawn() is not at risk of being ignored

* Make despawn() protected

(cherry picked from commit 9e27053b15)
2024-02-09 14:27:43 -05:00
iam
926871c86e hollow-cube/lighting-join-patch (#56)
(cherry picked from commit 010fe985bb)
2024-02-09 14:27:43 -05:00
Spanner
2be361448f Fix empty command chain causing NullPointerException (#1931)
* Fix empty command chain causing NullPointerException

* Add test for empty command input

(cherry picked from commit 3645d4311d)
(cherry picked from commit e2efdbb427)
2024-02-09 14:27:43 -05:00
Matt Worzala
6805c903f3 hollow-cube/command-parser-fixes (#54)
* Rewrite CommandParserImpl recursively (fix #1327)

* Fix for tests: CommandManagerTest, CommandParseTest

* Make attributes final inside Chain

* fix #1295 with argument type priority

* Don't include command name in list of arguments

* Add test for #1327

* Add test for #1295

* Fix suggestions with bad syntax

* Fix #1916

* Add test for #1916

* add failing test

* mess with arg order

* Fix `GraphImpl` causing syntax order issues

---------

Co-authored-by: Spanner <spanner77@protonmail.com>

(cherry picked from commit e9d0098418)
2024-02-09 14:27:43 -05:00
mworzala
351d2197b1 collect all server options in ServerFlag file, other minor changes 2024-02-09 14:27:43 -05:00
mworzala
5929b811ec return terminal 2024-02-09 14:27:43 -05:00
David Mayr
9bb412c34f hollow-cube/entity-metadata-patches (#35)
* feat: add more boat types

* feat: goat horn api

* feat: pillager crossbow meta

* feat: use boat metadata for chestboat

* feat: add warden meta

* fix: incorrect dolphin meta

* feat: allow to set null values for tounge target

* feat: nullable tounge target

* fix: update max offset in goat

(cherry picked from commit 34558e75ee)
2024-02-09 14:27:43 -05:00
mworzala
4ece2aa378 hollow-cube/1_20-advancement-packet-fix
(cherry picked from commit 1f87f26b4f)
2024-02-09 14:27:43 -05:00
Matt Worzala
c657be553f hollow-cube/prevent-block-placement-outside-world (#42)
* Prevent block place above 320

(cherry picked from commit d226c3994a)

* Move position of check

(cherry picked from commit ff7c4c108f)

* Add unit test

(cherry picked from commit 68500bf0d0)

* Add min y check

(cherry picked from commit 0ce77673a9)

---------

Co-authored-by: nucker <nuckermail@gmail.com>
(cherry picked from commit 8da8a70342)
2024-02-09 14:27:43 -05:00
Matt Worzala
ccb7a81dc9 hollow-cube/fix-riptide-animation (#44)
Co-authored-by: TogAr2 <59421074+TogAr2@users.noreply.github.com>
(cherry picked from commit d901eaaed1)
2024-02-09 14:27:43 -05:00
Matt Worzala
edf7b870c7 hollow-cube/add-gamemodechangeevent-and-fix-game-profile (#43)
* Resolve some todos and add connection.setProfile to EncryptionResponsePacket

* Add PlayerGameModeChangeEvent

(cherry picked from commit 1514d8ac1f)

* Add unit tests

(cherry picked from commit 9685e74f3b)

---------

Co-authored-by: GreatWyrm <alecmusante@gmail.com>
Co-authored-by: NxDs <7994264+NxDs@users.noreply.github.com>
(cherry picked from commit 2c567696ac)
2024-02-09 14:27:43 -05:00
Matt Worzala
9899f480b6 hollow-cube/display-name-and-team-fixes (#40)
* Update Player.java

* Remove useless team creation packets

* Send display names to new players

* Oops

* Add display name test

* Change to act

* Do not send display name if they do not have one

---------

Co-authored-by: emortaldev <me@emortal.dev>
(cherry picked from commit ab35ab0587)
2024-02-09 14:27:43 -05:00