DeidaraMC
e28adbca3e
fix: arrow meta shooter id set correctly ( #2105 )
2024-04-23 22:47:35 -04:00
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
TheMode
b5c35e0144
NetworkBuffer.Type refactor ( #2078 )
...
* Refactor network buffer types
* Remove magical -1 return
* Style
* Type doesnt need to be sealed
2024-04-10 01:41:03 +00:00
GreatWyrm
877e2bb4f2
chore: Cleanup some deprecations in the project ( #2084 )
2024-04-09 21:14:29 +00:00
GoldenStack
97b7f61def
Invalidate previous physics result on instance change ( #2086 )
2024-04-06 17:02:02 -04:00
DeidaraMC
b71edf2706
feat: player support for lookAt and setView methods ( #2072 )
2024-03-31 03:54:27 +00:00
DeidaraMC
a9f6d9f02b
feat: add TICK_END execution type to scheduler api ( #2045 )
...
* feat: implement TICK_END scheduler ExecutionType
* feat: add TICK_END scheduler ExecutionType
* fix: call processTickEnd on entity/instances, SchedulerImpl code cleanup
* deprecate ExecutionType#SYNC, replace with TICK_START
* chore: update scheduler test
* chore: scheduleEndOfTick cleanup
---------
Co-authored-by: iam <iam4722202468@users.noreply.github.com>
2024-03-30 23:51:08 -04:00
mworzala
452943df23
chore: reapply #2027 , throw if adding viewer before entity is active
2024-03-29 12:43:25 -04:00
mworzala
5b027599c5
fix: missing import in revert commit (somehow)
2024-03-29 12:07:21 -04:00
mworzala
ba1aaa7823
Revert "fix: send entity metadata immediately ( #2027 )"
...
This reverts commit e5cb2f7a1d
.
2024-03-29 11:37:29 -04:00
DeidaraMC
832f0e7f5a
feat: proper passenger position handling for most entities, fix passengers not always being applied to the client, don't sync passengers ( #2060 )
...
* feat: proper passenger position handling for most entities, fix passengers not being applied properly on the client sometimes
* chore: ditch the complex passenger solution as 1.20.5 makes this much simpler
* chore: change EntityViewer to check for a vehicle rather than isViewer, add a test case for this bug
* fix: test only worked in isolation
* chore: revert additional pos allocation
* chore: this instead of vehicle
2024-03-29 15:11:16 +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
204b447cdb
feat: use ticks for potion duration instead of system time ( #2050 )
...
* feat: use ticks for potion duration instead of system time
* chore: remove redudant getter
2024-03-28 01:48:58 +00: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
DeidaraMC
f034296f28
feat: add aerodynamics record and the capability to set custom horizontal air resistance ( #2053 )
...
* feat: add aerodynamics record and the ability to set horizontal drag
* feat: entity physics simulation overhaul
* fix: made physics utils private, renamed to match other utils
* chore: separate concept of chunks and tps from PhysicsUtils, remove bad PhysicsResult constants
* chore: remove synchronization from PhysicsUtils, SYNCHRONIZE_ONLY_ENTITIES collection > set
* chore: remove extra vec allocations
* chore: improved flyingVelocity test
* chore: add all entities with client side prediction to SYNCRHONIZE_ONLY_ENTITIES, refactor velocity
---------
Co-authored-by: iam <iam4722202468@users.noreply.github.com>
2024-03-27 19:21:07 +00:00
DeidaraMC
ceeab08a2a
chore: minor entity class warning cleanup ( #2049 )
2024-03-25 23:33:24 -04:00
DeidaraMC
115f9c1355
chore: expose previous position with a getter ( #2046 )
2024-03-25 19:52:26 -04:00
DeidaraMC
c27ab180a5
fix: don't send EntityHeadLook/Rotation packets to self ( #2048 )
2024-03-25 23:47:56 +00:00
DeidaraMC
4f1017d398
feat: configurable entity synchronization interval ( #2047 )
...
* feat: entity synchronization overhaul
* chore: add getter for sync interval
---------
Co-authored-by: mworzala <mattheworzala@gmail.com>
2024-03-25 23:44:27 +00:00
DeidaraMC
a31d239b51
feat: add leash holding support to the entity api ( #2026 )
...
Co-authored-by: DeidaraMC <DeidaraMC>
2024-03-19 16:48:52 +00:00
DeidaraMC
32f96683ee
feat: add weather to instances ( #2032 )
...
* feat: instance weather system
* chore: weather documentation
* chore: remove unused weather fields
* feat: linear weather interpolation
* chore: register weather command
---------
Co-authored-by: DeidaraMC <DeidaraMC>
Co-authored-by: mworzala <mattheworzala@gmail.com>
2024-03-19 16:44:51 +00:00
DeidaraMC
705ec5cc07
fix: send EntityHeadLookPacket on teleport ( #2031 )
...
* fix: send EntityHeadLookPacket on teleport
* fix: new teleport test integration
---------
Co-authored-by: DeidaraMC <DeidaraMC>
2024-03-18 03:41:06 +00:00
DeidaraMC
e5cb2f7a1d
fix: send entity metadata immediately ( #2027 )
...
Co-authored-by: DeidaraMC <DeidaraMC>
2024-03-18 03:36:20 +00:00
mworzala
dcbdad9a1b
fix: painting variant read entry, forgot to follow my own comment
2024-03-12 20:05:41 -04:00
mworzala
58fd95879a
fix: correct painting metadata
2024-03-12 15:22:15 -04:00
iam
5162a00b1e
Add particle data types ( #2004 )
...
* Add particle data types
* misc
* misc
* remove spaces
* defaults, tests, change what mattw said to
* RGBLike
* RGBLike
* RGBLike
* add back changes
* tests
* refactor
* annotations
* more fixes
* another test
* more tests + fix
* logging + checks consistency
* review changes
* review changes
2024-02-28 21:54:24 +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
iam
7320437640
Optionally load vanilla biomes ( #1988 )
...
* Add biomes from vanilla
* cleanup
* rework biomes
* nullability
* getByName string
* expose vanilla biomes
* not null
* before rename
* rename
* nbt cache
* fix
* fix
* fix
* final on vanilla biome
2024-02-12 15:25:46 -05:00
mworzala
77df1bdfd2
fix: correctly refresh client state on death
2024-02-10 17:42:02 -05:00
Spongecade
e9e58e4fce
Update Minecraft Wiki links to new domain
...
(cherry picked from commit 478eba12fb
)
2024-02-09 15:03:05 -05:00
mworzala
4240e535cc
chore: remove (very outdated) Hologram utility
2024-02-09 14:27:43 -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
46ba2f0f40
fix: add missing default metadata values
...
(cherry picked from commit 6b3f670cfb
)
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
d544c8776a
fix: fakeplayer can spawn once again ( #94 )
...
(cherry picked from commit 5347c0b11f
)
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
DeidaraMC
35f9489280
update: infinite potion duration support ( #106 )
...
* upgrade: infinite potion duration
* fix: no more aqgit
---------
Co-authored-by: mworzala <mattheworzala@gmail.com>
(cherry picked from commit bb4d925ec4
)
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