Commit Graph

445 Commits

Author SHA1 Message Date
Nassim Jahnke
c211b10eaa
Rename NBT and NBT_ARRAY types, add TagType
In theory the nameless compound tag type doesn't exist as it is written as any tag, but in practice is almost always cast and checked for its type, so we keep the extra CompoundTagType (nameless) and add the proper TagType (nameless, any tag) used for components
2023-10-06 22:35:00 +10:00
Nassim Jahnke
cb1b33b3e7
Start working on 23w40a 2023-10-05 18:22:13 +10:00
Nassim Jahnke
840770a350 Fix missing server state change 2023-09-25 20:11:29 +10:00
Nassim Jahnke
3997ea70f7
Fixup state splitting 2023-09-25 18:59:15 +10:00
Nassim Jahnke
854696abff
Add separate client and server protocol state 2023-09-25 16:44:41 +10:00
Nassim Jahnke
489b28e520
4.8.0 Release 2023-09-21 10:34:20 +10:00
Nassim Jahnke
1f0a4c26db
1.20.2-rc2 2023-09-19 00:07:43 +10:00
Nassim Jahnke
9c90445c9c
Release ConfigurationState buffers on disconnect
They're heap buffers, but still good practice
2023-09-16 13:27:23 +10:00
Nassim Jahnke
494e6ffc05
1.20.2-rc1 2023-09-16 10:19:49 +10:00
Nassim Jahnke
a196dbc16b
1.20.2-pre4 2023-09-14 09:03:13 +10:00
Nassim Jahnke
8934bbdfc3
1.20.2-pre3 2023-09-12 23:06:54 +10:00
Nassim Jahnke
cc7c571a3c 1.20.2-pre2 2023-09-08 09:05:31 +10:00
Nassim Jahnke
06b4678b2d [ci skip] Add IDEA extension plugin 2023-09-06 11:20:32 +10:00
Nassim Jahnke
a109118a97 1.20.2-pre1 2023-09-06 00:56:31 +10:00
Nassim Jahnke
f50751ed48 [ci skip] Update blossom 2023-09-05 21:10:43 +10:00
Nassim Jahnke
625373827c Fix MetaTypes1_20_2 item type 2023-08-31 11:44:55 +10:00
Nassim Jahnke
a9288ebd3a 23w35a 2023-08-31 00:42:47 +10:00
Nassim Jahnke
0c9f3aa080 23w33a 2023-08-18 01:27:00 +10:00
Pablo Herrera
e112f81ec8
Optimize memory allocation for data palette (#3402) 2023-08-14 10:40:10 +10:00
Nassim Jahnke
573cdfb3ac Merge remote-tracking branch 'origin/master' into dev 2023-08-10 21:49:26 +10:00
Nassim Jahnke
c5e066e050 23w32a 2023-08-10 13:35:47 +10:00
Nassim Jahnke
9c92ccea77 Finish up state switching 2023-08-06 15:40:15 +10:00
RK_01
c1cd8bc03e
Allow skylight to be set to null (#3396) 2023-08-06 11:08:52 +10:00
Nassim Jahnke
fb472c3454 Cleanup imports 2023-08-04 12:25:29 +10:00
Nassim Jahnke
ac10bb3fd0 Complete 23w31a protocol 2023-08-04 12:22:18 +10:00
Nassim Jahnke
62c0ef360f More absolutely cursed WIP 2023-08-03 21:58:23 +10:00
Nassim Jahnke
8c6d104faa 23w31a eletric boogaloo 2023-08-03 19:47:18 +10:00
Nassim Jahnke
6586fc1436 More work on the snapshot 2023-08-03 18:36:30 +10:00
Nassim Jahnke
6dfd4747ee Start working on 23w31a 2023-08-03 13:58:22 +10:00
RK_01
2ec6185c46
Fix <= 1.14 position y sign reading (#3381) 2023-07-12 19:10:49 +02:00
Nassim Jahnke
7edb43844c
Properly handle item display rotation change
Fixes #3354
2023-07-02 13:27:03 +02:00
Nassim Jahnke
08b2d78165
Move dump creation to util class 2023-06-14 23:13:44 +02:00
Nassim Jahnke
9a1598b9ed
Update 1.20/1.20.1 protocol version 2023-06-12 16:47:22 +02:00
EnZaXD
28ba4afc27
Added VersionInfo#getVersion to bypass Java inlining (#3344) 2023-06-09 08:52:30 +02:00
Nassim Jahnke
f1b5f9223a
4.7.0 Release 2023-06-06 13:30:57 +02:00
Nassim Jahnke
e4a1530aa8
Fix >1.18 vibration particle handling 2023-06-06 13:28:02 +02:00
Nassim Jahnke
b7d8a3c8d5
1.20-rc1 2023-05-31 15:40:23 +02:00
Nassim Jahnke
c6103f2f51
1.20-pre7 2023-05-29 16:54:45 +02:00
Nassim Jahnke
544a28b06b
1.20-pre6 2023-05-25 15:09:42 +02:00
Nassim Jahnke
5acc2fefbc
1.20-pre5 2023-05-23 15:40:54 +02:00
Nassim Jahnke
7f748b5c68
1.20-pre4 2023-05-19 15:40:54 +02:00
Nassim Jahnke
0ec03f8b09
1.20-pre3 2023-05-19 14:22:14 +02:00
Nassim Jahnke
98a0fdca94
1.20-pre2 2023-05-16 16:00:36 +02:00
Nassim Jahnke
6c0d891c9f
Don't print mapping validity warning if conversion warnings are disabled 2023-05-14 08:38:24 +02:00
Nassim Jahnke
07bdb57694
1.20-pre1 2023-05-10 15:46:03 +02:00
Nassim Jahnke
9257890d3c
Update protocol version 2023-05-05 18:50:15 +02:00
Nassim Jahnke
56d772df34
23w17a 2023-04-26 18:46:52 +02:00
Nassim Jahnke
54d8e29a7e
23w16a 2023-04-20 17:28:30 +02:00
Nassim Jahnke
bcfc77aa7d
Merge branch 'master' into dev 2023-04-18 13:35:14 +02:00
Nassim Jahnke
20d86374b5
23w14a 2023-04-05 15:25:37 +02:00
Nassim Jahnke
8864b161f9
Print plugin name in unsupported software matching 2023-04-02 09:41:20 +02:00
Nassim Jahnke
7e5173982d
23w13a 2023-03-29 16:32:50 +02:00
Nassim Jahnke
ee75f19790
Merge branch 'master' into dev
# Conflicts:
#	gradle.properties
2023-03-29 16:28:57 +02:00
Nassim Jahnke
e54f6d1999
Override metatypeimpl tostring 2023-03-28 17:27:22 +02:00
Nassim Jahnke
9682b68251
Handle sign nbt changes 2023-03-24 11:19:51 +01:00
Nassim Jahnke
364cfad9d8
23w12a 2023-03-22 18:49:18 +01:00
Nassim Jahnke
e298a7efac
Fix protocol detection on some versions of Spigot
Fixes #3263
2023-03-17 18:36:48 +01:00
Nassim Jahnke
4e844a0095
Small startup time improvements 2023-03-16 12:48:39 +01:00
Nassim Jahnke
b1524642aa
Fix protocol detection on 1.19.4 Spigot
Fixes #3241
2023-03-15 10:09:45 +01:00
Nassim Jahnke
7aa0aed5ec
4.6.0 Release 2023-03-13 14:18:40 +01:00
Nassim Jahnke
10c4d9408e
1.19.4-rc3 2023-03-13 14:17:59 +01:00
Nassim Jahnke
e8b4496289
1.19.4-rc2 2023-03-10 14:58:40 +01:00
Nassim Jahnke
7c9c602cec
Support Folia (leaf's region threaded Paper fork) 2023-03-10 12:20:02 +01:00
Nassim Jahnke
2ee2819759
1.19.4-rc1 2023-03-09 17:52:41 +01:00
Nassim Jahnke
9781b7962f
1.19.4-pre4 2023-03-08 15:28:59 +01:00
Nassim Jahnke
d8a9480bf1
Clean up BiMappings impl 2023-03-07 11:27:25 +01:00
Howard ZHY
a3efb676cf
Fix #2912 (#3221) 2023-03-07 11:25:32 +01:00
Nassim Jahnke
3ced95903a
Cache identifiers files 2023-03-05 15:20:16 +01:00
Nassim Jahnke
c765f20558
Readd enableMappingsCache stub until reimplemented 2023-03-04 21:03:53 +01:00
Nassim Jahnke
712bbcdc02
More fixes to mapping data loading 2023-03-04 17:17:47 +01:00
Nassim Jahnke
51d4e11b5f
Minimize/optimize mapping data files 2023-03-04 00:08:08 +01:00
Nassim Jahnke
9fd0d3e565
Reduce mappings file sizes and optimize item mappings 2023-03-02 13:14:11 +01:00
Nassim Jahnke
7b91c25379
1.19.4-pre3 2023-03-01 16:07:23 +01:00
Nassim Jahnke
7161377794
Add PacketWrapper#setCancelled(boolean) 2023-02-28 21:49:08 +01:00
Nassim Jahnke
57f0d58d58
1.19.4-pre2 2023-02-27 16:12:35 +01:00
Nassim Jahnke
5cad29c754
Expose PacketTypesProvider in Protocol 2023-02-24 10:07:25 +01:00
Nassim Jahnke
26615a11d3
23w08a 2023-02-22 18:51:28 +01:00
Nassim Jahnke
3e2ee37829
Allow custom PacketMappings implementation in AbstractProtocol 2023-02-22 16:54:54 +01:00
Nassim Jahnke
bf4e4d771f
Uncap mapping loader executor pool, less logging 2023-02-20 17:30:56 +01:00
Nassim Jahnke
1157029f23
Remove unused config option, hotfix mapping data cache 2023-02-20 13:19:10 +01:00
Nassim Jahnke
7b5cb92982
Small refactor 2023-02-20 13:19:03 +01:00
Nassim Jahnke
1376312449
23w07a 2023-02-17 23:02:02 +01:00
Nassim Jahnke
45fcc9ef7d
Rename Protocol generics to be clearer 2023-02-12 21:14:10 +01:00
Nassim Jahnke
f5ddc6550d
Optimize/improve Protocol packet mapping
Also makes it possible to work with packet types of different states in a Protocol
2023-02-12 17:27:36 +01:00
Nassim Jahnke
cb2165eb93
Greatly reduce the number of (anonymous) inner classes
Reduces code complexity, and much more importantly, reduces the number of classes loaded at runtime by *hundreds*
2023-02-12 11:46:48 +01:00
Nassim Jahnke
de5b7bf828
Allow registration of simple packet handlers over extending an abstract class 2023-02-12 10:54:47 +01:00
Nassim Jahnke
98c645f7ed
Store tracked entity data a little differently 2023-02-10 12:00:20 +01:00
Nassim Jahnke
b03765a828
23w06a 2023-02-08 18:49:06 +01:00
Nassim Jahnke
088f654159
Remove some deprecated api usage, small cleanup 2023-02-04 19:42:26 +01:00
Camotoy
734bc9e88c
Add armor toggle patch for Bukkit (#3210) 2023-02-03 17:02:22 +01:00
Nassim Jahnke
64b3771899
23w05a 2023-02-01 16:30:21 +01:00
Nassim Jahnke
4031429430
23w04a 2023-01-24 17:03:08 +01:00
Nassim Jahnke
50adff90f2
23w03a 2023-01-18 16:49:05 +01:00
Nassim Jahnke
4fb95581ce
Update copyright headers 2023-01-12 12:45:53 +01:00
Nassim Jahnke
4067107b52
Improve exception handling 2023-01-06 20:51:21 +01:00
Nassim Jahnke
f7a48d028b
4.5.0 Release 2022-12-05 20:29:24 +01:00
Nassim Jahnke
9be32ca18b
Make slightly more sense of CompactArrayUtil
... and make it less vanilla copy pasty

The magic array is a reciprocal table of 3-tuples, although 1 and 2 are always the same but for the ones including right shifts
2022-12-02 14:34:32 +01:00
Nassim Jahnke
e0cd121a58
1.19.3-rc1 2022-12-01 16:41:19 +01:00
Nassim Jahnke
96631cee0c
1.19.3-pre3 2022-11-29 17:26:51 +01:00
Nassim Jahnke
8c0487fc05
1.19.3-pre2 2022-11-23 18:02:33 +01:00
Nassim Jahnke
aec60f8cef
1.19.3-pre1 2022-11-22 17:11:11 +01:00
Nassim Jahnke
83efd0a267 22w46a (maybe) 2022-11-16 16:03:18 +01:00
Nassim Jahnke
5c05c61fbf
22w45a 2022-11-09 16:09:23 +01:00
Nassim Jahnke
d3d8d1cab3 22w44a (maybe) 2022-11-02 15:49:40 +01:00
Nassim Jahnke
e3dc9e5b66
22w43a 2022-10-26 18:09:42 +02:00
Nassim Jahnke
555e1a7722
Fix long metatype reading, some internal type reading changes 2022-10-22 10:19:27 +02:00
Nassim Jahnke
7400784e4f
22w42 (except for command completions) 2022-10-20 19:34:04 +02:00
Nassim Jahnke
14b11bdd10
Start working on 22w42a 2022-10-19 21:58:08 +02:00
Nassim Jahnke
c5738a2203
Add Via channel handlers instead of wrapping Vanilla handlers on Bukkit (#3132) 2022-10-19 21:29:24 +02:00
Gero
7698ee7683
Some minor performance improvements and cleanups (#3134) 2022-10-04 13:25:55 +02:00
Nassim Jahnke
435a986068
Properly enclose limiting of nbt reading
Fixes #3093
2022-08-14 22:24:31 +02:00
Nassim Jahnke
6c58f0980c
Add utility method for initializing entity types 2022-08-13 15:36:57 +02:00
Nassim Jahnke
ed196bdf99
Clean up proxy protocol detector service 2022-08-11 19:04:22 +02:00
Nassim Jahnke
9247e87bbf
Update InformativeException message 2022-08-08 21:01:27 +02:00
Nassim Jahnke
08727f959f
Update 1.19.1 protocol version string 2022-08-05 16:05:31 +02:00
Nassim Jahnke
322af00e80
Handle 1.19 chat types 2022-07-28 13:14:28 +02:00
Nassim Jahnke
e194d27bea
Allow for more control over max path distance delta increase 2022-07-28 11:29:02 +02:00
Nassim Jahnke
22daa60eb6
4.4.0 Release 2022-07-27 19:01:23 +02:00
Nassim Jahnke
6eca07966c
1.19.1-rc3 2022-07-26 18:27:32 +02:00
Nassim Jahnke
56cc711c01
Update legacy palette handling as well 2022-07-25 13:18:13 +02:00
Nassim Jahnke
c2ee558235
Fix reading of cursed Hypixel block palettes
Fixes #3037
2022-07-24 18:42:25 +02:00
Nassim Jahnke
c8a010c390
Handle negative bits per value in palette 2022-07-24 17:30:30 +02:00
Nassim Jahnke
53c54485eb
Cleanup optional types 2022-07-21 19:56:42 +02:00
Nassim Jahnke
f42a308f2c
1.19.1-rc2 2022-07-21 19:06:34 +02:00
Nassim Jahnke
44250cbb99
1.19.1-pre6 2022-07-20 18:36:28 +02:00
Nassim Jahnke
57ef90e851
1.19.1-pre5 2022-07-15 16:26:58 +02:00
Nassim Jahnke
56e1d0a69d
Add optional type for smol cleanup 2022-07-09 11:47:58 +02:00
Nassim Jahnke
b33bd2ac2b
1.19.1-pre4 2022-07-08 16:20:54 +02:00
Nassim Jahnke
1afff77a0f
1.19.1-pre3 2022-07-06 17:47:47 +02:00
Nassim Jahnke
26af09f2a4
Update unsupported software list 2022-07-05 20:37:19 +02:00
Nassim Jahnke
f4aa96a5f8
1.19.1-pre2 2022-06-30 19:34:14 +02:00
Nassim Jahnke
9113a77331
1.19.1-rc1 except not really 2022-06-23 20:45:42 +02:00
Nassim Jahnke
e3e85db02a
1.19.1-pre1 2022-06-21 21:01:24 +02:00
Nassim Jahnke
9a34ff2a51
4.3.0 Release 2022-06-05 11:31:07 +02:00
trickypr
f01d9408de
1.19-rc2 (#2910) 2022-06-04 11:08:04 +02:00
Nassim Jahnke
15ff7b4c9d
1.19-rc1 2022-06-02 17:49:25 +02:00
Nassim Jahnke
d47765ce45
1.19-pre5 2022-06-01 15:16:47 +02:00
Nassim Jahnke
b7005f2400
1.19-pre3 2022-05-25 14:33:39 +02:00
Nassim Jahnke
b4ecba8382
1.19-pre2 2022-05-23 18:03:18 +02:00
Nassim Jahnke
90feac8c83
Update DebugHandler 2022-05-20 14:10:23 +02:00
Nassim Jahnke
71a68bf36e
Fix the client entity being untracked on world changes
Fixes #2894 and probably other things
2022-05-19 23:04:18 +02:00
Nassim Jahnke
e67501cde3
Fix painting id being used too early
Fixes #2893
2022-05-19 19:54:27 +02:00
Nassim Jahnke
9aa7f5e879
Fix data stored on join being lost on Bungee
Bungee doesn't resend a join game for old servers, so we will have to keep data stored there across server switches
This likely fixes other issues with chunk data writing after server switches on legacy servers as well
2022-05-19 12:37:04 +02:00
Nassim Jahnke
854ecf0b47
1.19-pre1 2022-05-18 21:29:18 +02:00
Nassim Jahnke
1d5ae0e3e0
Use mappings instead of hardcoding entity ids 2022-05-14 11:58:45 +02:00
Nassim Jahnke
f0462085d3
Add id->string methods to FullMappingData 2022-05-13 13:23:57 +02:00
Nassim Jahnke
7dc7b62cc9
22w19a (and a varying mix of removed and added dread) 2022-05-12 23:49:15 +02:00
Nassim Jahnke
b9f80754e0
22w18a 2022-05-04 19:15:23 +02:00
Nassim Jahnke
0e66228a96
22w17a (and a lot of dread) 2022-04-27 21:06:34 +02:00
Nassim Jahnke
8df48bc378
StoredEntityData#remove 2022-04-20 20:16:08 +02:00