Commit Graph

5643 Commits

Author SHA1 Message Date
mworzala 6753d87b55 chore: rebase fixes on inventory branch 2024-05-27 15:06:32 -04:00
mworzala ce4b01585e feat: generate RecipeType (for ids) 2024-05-27 15:06:32 -04:00
mworzala 625e183a0d feat: simplify sound events, fix update explosion packet 2024-05-27 15:06:32 -04:00
mworzala a810a96b0e feat: first draft of cookies 2024-05-27 15:06:32 -04:00
mworzala 11d899b812 feat: even more components (only 2 missing ones) 2024-05-27 15:06:32 -04:00
mworzala d95b817c07 feat: more components 2024-05-27 15:06:32 -04:00
mworzala db85156881 chore: cleanup itemcomponenttype, update to datagen changes 2024-05-27 15:06:32 -04:00
mworzala 8288eee012 feat: functional components, but at what cost 2024-05-27 15:06:32 -04:00
mworzala 7c9c40073d chore: trying to fix nightmare loop 2024-05-27 15:06:32 -04:00
mworzala bded1f27a4 chore: more components 2024-05-27 15:06:32 -04:00
mworzala 8a4f99e0b5 chore: more components 2024-05-27 15:06:32 -04:00
mworzala 01836a7084 chore: delete all old metadata classes for now, may return compatibility later 2024-05-27 15:06:32 -04:00
mworzala dfe817db84 feat: first version of a bunch of components 2024-05-27 15:06:32 -04:00
mworzala 54ee4b2bf2 chore: rebase on adventure-nbt 2024-05-27 15:06:32 -04:00
mworzala 81a0f35f49 fix: oops, health is before potion still 2024-05-27 15:06:32 -04:00
mworzala 12525af6d6 feat: joinable server 2024-05-27 15:06:32 -04:00
mworzala 1b446f9500 chore: basic nbt reader/writer for protocol while waiting for adventure 2024-05-27 15:06:32 -04:00
mworzala e0b7110c8c feat: initial conversion to adventure nbt. no tests, no anvil 2024-05-27 15:06:32 -04:00
GoldenStack cea24c9ffd Add playerInventory to InventoryPostClickEvent 2024-05-27 15:06:32 -04:00
GoldenStack 06dfcdad2e Send changes to client when cancelled and test fix 2024-05-27 15:06:32 -04:00
GoldenStack 09a20e8f5d Follow client predictions whenever possible 2024-05-27 15:06:32 -04:00
GoldenStack 9108d71826 Fix adding to air 2024-05-27 15:06:32 -04:00
GoldenStack b5e8ce1d21 Clean up InventoryCloseEvent and make it cancellable 2024-05-27 15:06:32 -04:00
GoldenStack 3e54266020 Fix double clicking and fix tests 2024-05-27 15:06:32 -04:00
GoldenStack aef44c75c3 Rename Change.Main and document Change 2024-05-27 15:06:32 -04:00
GoldenStack 2dd38b54ed Fix middle click drop handling 2024-05-27 15:06:32 -04:00
GoldenStack d73563caa0 Fix inventory close regression 2024-05-27 15:06:32 -04:00
themode ce72080c8d Remove fastutil pair 2024-05-27 15:06:32 -04:00
themode 099018c719 Inline requireCreative 2024-05-27 15:06:32 -04:00
themode 5c10326737 Little simplification 2024-05-27 15:06:32 -04:00
GoldenStack dcf2ebfc89 Switch Click.Result to List<Click.Change> 2024-05-27 15:06:32 -04:00
GoldenStack f580818afe Fix player inventory size usage 2024-05-27 15:06:32 -04:00
GoldenStack 96d85be293 Add Click.Change 2024-05-27 15:06:32 -04:00
themode e3b4b4ffcf Move some constants out of PlayerInventory 2024-05-27 15:06:32 -04:00
themode 0b5bf34a3e Store all processors in ClickProcessors 2024-05-27 15:06:32 -04:00
themode 6ca3429178 More style 2024-05-27 15:06:32 -04:00
themode e04fede41f Remove Click's Inventory dependency 2024-05-27 15:06:32 -04:00
themode 57fa6b02c7 Style change 2024-05-27 15:06:32 -04:00
GoldenStack 1f279e40a3 Remove fastutil references in API 2024-05-27 15:06:32 -04:00
GoldenStack e3c3a5338f Inventory rework (88 squashed commits) 2024-05-27 15:06:32 -04:00
iam4722202468 85942b6b27 make initial lighting not require send to fix race condition 2024-05-23 17:15:42 -04:00
Samuel 776ad02d63
Add BlockVec as a Point implementation (#2144)
* Add the BlockVec class

* Use BlockVec in BlockEvent

* Add usage notes
2024-05-23 16:52:16 -04:00
Samuel 1f07d38f2b
Add BoundingBox::fromPoints (#2145) 2024-05-22 18:59:13 -04:00
iam4722202468 33dff6f458 whoops 2024-05-11 04:12:13 -04:00
iam4722202468 667b9016ca reduce memory of loaded lighting 2024-05-09 23:10:01 -04:00
TogAr2 6b8a4e4cc9
Fix Aerodynamics#withGravity changing horizontal air resistance (#2125) 2024-05-04 04:51:06 +00:00
felix 4b9d79bed4
Fix wrong trim cache invalidation (#2126) 2024-05-03 13:45:17 -04:00
GoldenStack fed512eaf6 Send an acknowledgement packet for item usage 2024-05-01 21:51:42 -04:00
DeidaraMC ded0721b23
fix: Aerodynamics#withAirResistance not updating correctly (#2121) 2024-05-02 01:49:18 +00:00
DeidaraMC ea4769817d fix: simulate phyiscs updating player onGround when it should not 2024-05-01 21:46:26 -04:00