Commit Graph

93 Commits

Author SHA1 Message Date
mworzala
2f5bb97908 feat: minor improvements, 1.21 release 2024-06-13 11:59:51 -04:00
mworzala
0e14214690 feat: add some ItemStack convenience methods 2024-06-13 11:59:51 -04:00
mworzala
f089708ed4 feat: mostly functional enchants, needs cleanup 2024-06-13 11:59:51 -04:00
mworzala
141a251c1b feat: new packets, new registries except stubbed out enchantments, other minor changes 2024-06-13 11:59:51 -04:00
mworzala
5c2a41b79d chore: minor cleanup, block display meta to use Block directly 2024-06-07 21:28:21 -04:00
mworzala
5182f19dd7 feat: cya later jitpack 2024-06-07 21:28:21 -04:00
DeidaraMC
20e91c83cf feat: world border overhaul, turned into a record and handled by the instance (#2062)
* feat: world border overhaul, turned into a record and handled by instance

* chore: replace WorldBorder#defaultBorder() with a DEFAULT_BORDER constant
2024-06-07 21:28:21 -04:00
mworzala
abf80e597e chore: cleanup networkbuffer additions 2024-06-07 21:28:21 -04:00
mworzala
aa697a4f94 feat: first pass of standardizing dynamic registries 2024-06-07 21:28:21 -04:00
mworzala
3073a6d556 chore: add PlayerAnvilInputEvent, other minor tweaks from self review 2024-06-07 21:28:21 -04:00
mworzala
580438cde8 fix: correctly handle eating potions, time eating using ticks, default to correct drink/eat time from component, send damage event on living entity damage 2024-06-07 21:28:21 -04:00
mworzala
67fe007bb3 fix: dont oom reading item component, stub banner pattern component 2024-06-07 21:28:21 -04:00
mworzala
1a4fbef801 fix: do not allow writing air in declare recipes packet (added ItemStack.STRICT_NETWORK_TYPE to represent this) 2024-06-07 21:28:21 -04:00
mworzala
1a2e817eed chore: cicd trigger 2024-06-07 21:28:21 -04:00
mworzala
df3a540be3 chore: 1.20.5, disable some failing tests to get a functional build 2024-06-07 21:28:21 -04:00
mworzala
101211c804 feat: anvil reading, other minor fixes 2024-06-07 21:28:21 -04:00
mworzala
5096c7ad8f feat: simplify sound events, fix update explosion packet 2024-06-07 21:28:21 -04:00
mworzala
100661bbd1 feat: first draft of cookies 2024-06-07 21:28:21 -04:00
mworzala
35f122bc32 feat: even more components (only 2 missing ones) 2024-06-07 21:28:21 -04:00
mworzala
eccfaaca83 feat: more components 2024-06-07 21:28:21 -04:00
mworzala
7ba6a6d4b3 feat: functional components, but at what cost 2024-06-07 21:28:21 -04:00
mworzala
b8a600bc7f chore: trying to fix nightmare loop 2024-06-07 21:28:21 -04:00
mworzala
4f12d65c7a chore: more components 2024-06-07 21:28:21 -04:00
mworzala
d2be7e1294 feat: joinable server 2024-06-07 21:28:21 -04:00
mworzala
e61dc8188f feat: initial conversion to adventure nbt. no tests, no anvil 2024-06-07 21:28:21 -04:00
mworzala
e18d7fb798
fix: do not process disconnected queued config->play transition players 2024-04-30 13:56:38 -04:00
DeidaraMC
dc17d171ce
feat: vanilla style Instance#setWeather method overload, weather api improvements (#2064)
* feat: weather update

* chore: Weather#createIsRainingPacket use isRaining
2024-03-29 10:12:45 -04:00
iam
6e179dbd8a
Fix Lighting Invalidation (#2041)
-  Fix invalid lighting being sent to clients
-  Add cherry leaves to occludes
-  Fix lighting being generated when using loaded lighting
-  Send lighting to clients on block changes
-  Cleanup unused methods
-  Add sky lighting test for short grass
2024-03-24 16:23:26 -04: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
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
iam4722202468
c8f96cbb16 fix relight command 2024-02-10 18:06:31 -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
04ae4117be fix: oops, forgot to remove some stuff 2024-02-09 14:27:43 -05:00
iam
8aedd5fc26 Send Lighting Immediately (#131)
Fix lighting

(cherry picked from commit 0494ee0b97c0ce28ffd6d744a494c65fa8308658)
2024-02-09 14:27:43 -05:00
mworzala
a14dbf5cdd fix: shaped recipe protocol reorder
(cherry picked from commit 9d6752c86f)
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
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
84a1150afe fix: update advancement packet to 1.20.4
(cherry picked from commit 03ef3e2374)
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
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
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
1b286979c5 chore: minor cleanup
(cherry picked from commit ac4c54731c)
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
bd58b1b9f6 feat: cleanup, remove ConnectionManager#getOnlinePlayers
(cherry picked from commit 8a75e9e986)
2024-02-09 14:27:43 -05:00