Commit Graph

5569 Commits

Author SHA1 Message Date
mworzala
90d18c2a95
feat: partial anvil writing, update tests (still many broken) 2024-04-25 08:45:36 -04:00
mworzala
1246fa57d7
feat: anvil reading, other minor fixes 2024-04-25 08:45:36 -04:00
mworzala
a50014ad8c
fix: do not send close inventory packet when opening a new inventory while one is open 2024-04-25 08:45:36 -04:00
mworzala
964b519146
chore: rebase fixes on inventory branch 2024-04-25 08:45:35 -04:00
mworzala
ff0d121937
feat: generate RecipeType (for ids) 2024-04-25 08:45:35 -04:00
mworzala
49f8ae1223
feat: simplify sound events, fix update explosion packet 2024-04-25 08:45:35 -04:00
mworzala
f9c835ed6c
feat: first draft of cookies 2024-04-25 08:45:35 -04:00
mworzala
4e6c15189c
feat: even more components (only 2 missing ones) 2024-04-25 08:45:35 -04:00
mworzala
2b974d95f9
feat: more components 2024-04-25 08:45:34 -04:00
mworzala
3fdd9ab9bb
chore: cleanup itemcomponenttype, update to datagen changes 2024-04-25 08:45:34 -04:00
mworzala
c873d72f64
feat: functional components, but at what cost 2024-04-25 08:45:34 -04:00
mworzala
f1f1246230
chore: trying to fix nightmare loop 2024-04-25 08:45:34 -04:00
mworzala
a9e056a119
chore: more components 2024-04-25 08:45:34 -04:00
mworzala
690f828c3c
chore: more components 2024-04-25 08:45:33 -04:00
mworzala
ac18b3fb38
chore: delete all old metadata classes for now, may return compatibility later 2024-04-25 08:45:33 -04:00
mworzala
e8d4f79ee3
feat: first version of a bunch of components 2024-04-25 08:45:33 -04:00
mworzala
d6d2e9c3e7
chore: rebase on adventure-nbt 2024-04-25 08:45:33 -04:00
mworzala
58367bb6de
fix: oops, health is before potion still 2024-04-25 08:45:33 -04:00
mworzala
721f70a28e
feat: joinable server 2024-04-25 08:45:31 -04:00
mworzala
62cb99a524
chore: basic nbt reader/writer for protocol while waiting for adventure 2024-04-25 08:45:11 -04:00
mworzala
5188c15245
feat: initial conversion to adventure nbt. no tests, no anvil 2024-04-25 08:45:11 -04:00
themode
41b442eab8
Remove fastutil pair 2024-04-25 08:45:11 -04:00
themode
8bb3ece803
Inline requireCreative 2024-04-25 08:45:11 -04:00
themode
bb31cf8b20
Little simplification 2024-04-25 08:45:11 -04:00
GoldenStack
755f934448
Switch Click.Result to List<Click.Change> 2024-04-25 08:45:10 -04:00
GoldenStack
d417f42b74
Fix player inventory size usage 2024-04-25 08:45:10 -04:00
GoldenStack
511c3d3e2e
Add Click.Change 2024-04-25 08:45:10 -04:00
themode
ea7ef09be7
Move some constants out of PlayerInventory 2024-04-25 08:45:10 -04:00
themode
f33565a82e
Store all processors in ClickProcessors 2024-04-25 08:45:10 -04:00
themode
401d5b57a7
More style 2024-04-25 08:45:10 -04:00
themode
a350c29296
Remove Click's Inventory dependency 2024-04-25 08:45:09 -04:00
themode
a0c915a5c9
Style change 2024-04-25 08:45:09 -04:00
GoldenStack
84ead9b25c
Remove fastutil references in API 2024-04-25 08:45:09 -04:00
GoldenStack
04893721b1
Inventory rework (88 squashed commits) 2024-04-25 08:45:09 -04:00
mworzala
129fd8ca0f
fix: properly return missing optvarint 2024-04-23 23:20:27 -04:00
mworzala
f76d421744
fix: write metadata optvarint as varint + 1 || 0 2024-04-23 23:17:50 -04:00
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
Maxim Breitman
7daf8d69b7
fix typo in Server#stop (#2093) 2024-04-11 22:25:50 +02:00
Maxim Breitman
f1a4882572
fix typo in Worker#close (#2092) 2024-04-11 21:33:15 +02: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
Samuel
2442f14b3d
Add a Scheduler::scheduleTask with period supplier AND delay (#2082) 2024-04-09 17:25:17 -04: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
iam
9a0d61755e
Simplify Chat Event (#2085) 2024-04-06 20:33:55 +00:00
Samuel
0c9527118a
Add unstable API for custom Login Plugin Messages (#2074)
* Add LoginPluginMessageBox to allow sending custom login plugin messages

* throw in ConnectionManager because AsyncUtils has a try catch

* Stack requests in AsyncPlayerPreLoginEvent so the user-facing API is scoped to the login stage

* Fix addPluginRequest javadoc

* feat: encapsulate velocityproxy logic, other minor tweaks

* fix: revert velocityproxy changes

---------

Co-authored-by: mworzala <mattheworzala@gmail.com>
2024-04-01 16:36:13 -04:00
DeidaraMC
63f02929ed chore: point position/offset particle packet construtors 2024-03-31 01:33:55 -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