mworzala
e8e22a2b15
fix: close current inventory when opening a book
2024-04-14 20:34:26 -04:00
mworzala
54212ebc97
fix: death location type to WorldPos (same type as metadata), fix missing world pos serialization (was npe)
2024-04-10 08:31:47 -04:00
DeidaraMC
b71edf2706
feat: player support for lookAt and setView methods ( #2072 )
2024-03-31 03:54:27 +00:00
GreatWyrm
f95d73eca8
Name magic values, respect client view distance setting ( #2051 )
...
* Name some magic values, replace getChunkViewDistance with ServerFlag.CHUNK_VIEW_DISTANCE, and respect client view distance settings (by using effective view distance when sending chunks)
* Attempt to fix test
* Preload chunks in test
* Fix OOM error for tests
* Rename constants and skin parts method
* Rename method
2024-03-27 22:08:36 -04:00
DeidaraMC
59ea880d26
feat: added player#teleportWithFlags for relative teleportation ( #2029 )
...
* feat: added player#teleportWithFlags for relative teleportation
* requested changes and improvements
* add the new teleport method override player
* chore: cleanup
* chore: change relative flags from enums to constants
---------
Co-authored-by: DeidaraMC <DeidaraMC>
2024-03-28 01:45:55 +00:00
tahmid-23
aad7bdab0f
refresh pose on gamemode change ( #1888 )
2024-02-28 17:54:12 +00:00
Matt Worzala
2947279898
Remove FakePlayer
( #2006 )
...
* feat: remove FakePlayer
* fix: oops, demo server exists
2024-02-27 13:37:42 +00:00
mworzala
77df1bdfd2
fix: correctly refresh client state on death
2024-02-10 17:42:02 -05:00
mworzala
b63ea72e36
chore: minor cleanup from big cherry pick
2024-02-09 14:27:43 -05:00
mworzala
f80d11d719
fix: still update pose for players who had their entity type switched
...
(cherry picked from commit da46d07699
)
2024-02-09 14:27:43 -05:00
mworzala
3a25d0124d
fix: Player#switchEntityType throws an exception
...
(cherry picked from commit 9fc4137995
)
2024-02-09 14:27:43 -05:00
mworzala
38076fe707
fix: fix to closing inventories serverside while sending updates
...
(cherry picked from commit f5727c207b
)
2024-02-09 14:27:43 -05:00
GreatWyrm
7cec8f0bfc
Fix server replaying the close window packet
...
(cherry picked from commit 4ba779d3f1
)
2024-02-09 14:27:43 -05:00
mudkip
cf8c275cf2
add hardcore property to config event ( #117 )
...
(cherry picked from commit f5f8e21427
)
2024-02-09 14:27:43 -05:00
mworzala
06695f71f0
fix: send load chunks game state in Player#refreshClientStateAfterRespawn to fix change skin & dimension changes
...
(cherry picked from commit e7b0e702f6
)
2024-02-09 14:27:43 -05:00
mworzala
f4cb5272f9
fix: re-merge connection states, remove OptifineSupport
...
(cherry picked from commit a0ca4895b1
)
2024-02-09 14:27:43 -05:00
mworzala
833c5fe365
fix: test failures
...
(cherry picked from commit c0d3f01fa2
)
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
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
mworzala
c9ee2b56b2
chore: revert (mostly) ConnectionManager#getOnlinePlayers change
...
(cherry picked from commit 8859af87ba
)
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
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
MelonHell
a588e2a652
Fix #76 ( #81 )
...
(cherry picked from commit 8fcb53e498
)
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
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
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
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
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
mworzala
b7e3b40147
fix: update RespawnPacket to use dataToKeep bitset
...
(cherry picked from commit e146a9393e
)
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
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
mworzala
f6c91085b6
hollow-cube/dimension-names-part-2
...
(cherry picked from commit 3dbf364340
)
2024-02-09 14:27:43 -05:00
mworzala
c733016d9e
hollow-cube/dimension-change-part-2
...
(cherry picked from commit b9ce08a509
)
2024-02-09 14:27:43 -05:00
mworzala
b4c41adb7d
hollow-cube/dimension-names
...
(cherry picked from commit 7493b640b7
)
2024-02-09 14:27:43 -05:00
mworzala
5413f9c98f
hollow-cube/fix-slow-dimension-change
...
(cherry picked from commit 388dbf71b9
)
2024-02-09 14:27:43 -05:00
mworzala
f31b74a386
hollow-cube/chunk-sending-rate-config
...
(cherry picked from commit a981bd78ff
)
2024-02-09 14:27:43 -05:00