Commit graph

8212 commits

Author SHA1 Message Date
Nassim Jahnke
9b067d69a1 Fixup 2023-12-06 21:14:54 +01:00
Owen1212055
ab5d5fb554 Fix some missing diffs 2023-12-06 15:11:00 -05:00
Owen1212055
8e37c573ec Remove some patches 2023-12-06 15:09:14 -05:00
Nassim Jahnke
d0a41fbabf Add missing timings stop 2023-12-06 21:04:01 +01:00
Nassim Jahnke
7bd0fbea6c Drop old packs in setResourcePack 2023-12-06 20:46:49 +01:00
Nassim Jahnke
42a06e89bb It compiles 2023-12-06 20:40:37 +01:00
Nassim Jahnke
b7ab883a24 More compile fixes 2023-12-06 20:10:59 +01:00
Jason Penilla
61209168b7 build script updates 2023-12-06 11:48:37 -07:00
Jake Potrebic
916f988912 more compile fixes 2023-12-06 10:36:49 -08:00
Lulu13022002
fc727a05cd remove old diff 2023-12-06 19:26:53 +01:00
Noah van der Aa
9734050cf0 More compile fixes 2023-12-06 19:21:23 +01:00
Nassim Jahnke
d79a08990a Toggle updatingMinecraft property 2023-12-06 19:21:09 +01:00
Nassim Jahnke
4ce929d6da Apply all patches 2023-12-06 19:18:53 +01:00
Jake Potrebic
286f49b866 fix more compile issues 2023-12-06 10:07:47 -08:00
Jake Potrebic
b7a964f387 Upstream blocked Player#remove so our patch needed to be refactored 2023-12-06 09:54:52 -08:00
Jake Potrebic
ba9e6cf5d3 fix mismatched bracket in game packet listener 2023-12-06 09:47:45 -08:00
Bjarne Koll
d7874011e2 Make things explodes via patches 2023-12-06 18:33:52 +01:00
Bjarne Koll
c730cdcecf Fix custom potion mixes patch 2023-12-06 17:39:37 +01:00
Owen1212055
6f010858de Patches!!! MORE MORE MORE MOOOOORE 2023-12-06 11:34:54 -05:00
Owen1212055
0087658702 Patches!!! MORE 2023-12-06 11:21:56 -05:00
Owen1212055
2633e8f90d Patches!!! (2) 2023-12-06 11:00:26 -05:00
Owen1212055
66719a05d3 Patches!!! 2023-12-06 10:17:00 -05:00
Jason Penilla
e6b18a7ca9 add description to helper 2023-12-05 21:59:31 -07:00
Jake Potrebic
8e871314ef fix serializing TextColor with name 2023-12-05 20:56:02 -08:00
Jason Penilla
436a966767 p a t c h e s 2023-12-05 21:49:31 -07:00
Jason Penilla
6aedc2af5d Improve update helper task 2023-12-05 21:46:41 -07:00
Jason Penilla
2d702b9bad more patch 2023-12-05 20:57:46 -07:00
Jason Penilla
d71a8545e4 Add update helper task 2023-12-05 20:35:33 -07:00
Jason Penilla
20f31c62d2 some patches :D 2023-12-05 20:34:04 -07:00
Jason Penilla
7725b39a8f patches ... 2023-12-05 20:00:14 -07:00
Jason Penilla
bb836b070a Bump Gradle wrapper to 8.5 2023-12-05 17:58:17 -07:00
Jake Potrebic
ec61d23300 initial work on native Adventure codecs 2023-12-05 16:49:11 -08:00
Jason Penilla
4f136356d8 some more patch 2023-12-05 15:55:31 -07:00
Jason Penilla
7814f6c819 patches up to anti x ray 2023-12-05 15:32:41 -07:00
Jason Penilla
49eb9de165 fix timings patch field use 2023-12-05 15:25:12 -07:00
Jason Penilla
9811c737bb some more patches 2023-12-05 15:21:44 -07:00
Jason Penilla
f6bef3efe8 some patches 2023-12-05 15:12:48 -07:00
Jake Potrebic
a433529d07 port UnknownCommandEvent patch 2023-12-05 13:51:34 -08:00
Jason Penilla
1ef549d1f7 Update generated API 2023-12-05 14:36:33 -07:00
Jason Penilla
f64de074e8 patches 2023-12-05 14:34:01 -07:00
Jason Penilla
d611ad767d Update loot table and other patches 2023-12-05 14:20:44 -07:00
Nassim Jahnke
e45e2141a0 Remove unnecessary import 2023-12-05 20:56:22 +01:00
Nassim Jahnke
15a9af2f5e More more more work 2023-12-05 20:54:55 +01:00
Nassim Jahnke
ed4ff79ac7 More more work 2023-12-05 20:39:26 +01:00
Nassim Jahnke
0e154a1701 More work 2023-12-05 20:12:12 +01:00
Nassim Jahnke
f520d3c39b Adventure (kind of) 2023-12-05 19:38:29 +01:00
Nassim Jahnke
aba71147db Finish API 2023-12-05 18:33:18 +01:00
Nassim Jahnke
46f4547805 Prepare for 1.20.3 dev 2023-12-05 18:20:55 +01:00
Owen1212055
1fa2b7d2f5 Dont resend blocks on interactions (#9413)
In general, the client now has an acknowledgment system that will cause block changes made by the client to be reverted correctly.

Essentially:

The client enters a "prediction" stage, where any block changes made will have its old blockstate captured (this is referred to as "server state").
If you update blocks during this stage, the client will update this captured server state as long as they're still currently predicting.
After prediction is done (via an ack packet) all captured blockstates are reverted to their captured server state.
This means that if the server actually updated a block and send a block update packet, it's correctly set, while if a block wasn't updated on the server but WAS updated on the client (server state wasn't updated), that change will be reverted.

It should be noted that this system does not yet support block entities, so those still need to be resynced when needed.

I discovered this when noticing that blocks broken outside of the player's valid interaction distance are still properly reverted, even though the server doesn't send any block updates, only an ack packet.
2023-12-02 22:41:35 -05:00
Jake Potrebic
727bda93be Add Structure check API (#9062) 2023-12-02 18:11:57 -08:00