Commit Graph

1084 Commits

Author SHA1 Message Date
KennyTV
5d8084986f
Put itemmappings into custom Int2IntBiMap 2020-06-08 23:54:24 +02:00
KennyTV
5bd1ef882e
Set load factor to 1 for deterministically sized collections 2020-06-08 23:13:47 +02:00
KennyTV
6167c3b526
Set default return values 2020-06-08 23:01:55 +02:00
KennyTV
8188ae09f5
Use proper FU classes, shade dumbed down version 2020-06-08 22:23:24 +02:00
KennyTV
39cb8fd554
Fix FU check 2020-06-08 15:58:10 +02:00
KennyTV
623cdaf881
Getter for original map in IntMap 2020-06-08 15:34:34 +02:00
KennyTV
1ad559212e
Create soft wrapper for FU Int2ObjectMap 2020-06-08 13:49:26 +02:00
KennyTV
30e10bb645
Create soft wrapper for FU IntSet and Int2IntMap 2020-06-08 12:27:34 +02:00
KennyTV
5fca206b8d
Add method to get protocol instance by class 2020-06-07 10:16:40 +02:00
KennyTV
25652eab15
Print protocol and packet type when erroring 2020-06-06 16:16:38 +02:00
KennyTV
f117239184
Further safety checks for correct packets types 2020-06-06 15:54:51 +02:00
KennyTV
cc3dae127b
Use correct packet type when warning for missing mapping 2020-06-06 15:33:20 +02:00
KennyTV
baf1b851c4
1.8 packet enum, add a small number of nullable annotations 2020-06-06 10:55:35 +02:00
KennyTV
545ab2de79
Enforce correct packet types with generics, 1.9 packet constant 2020-06-06 09:45:43 +02:00
KennyTV
38f845bb7e
Consistency changes, 1.11->1.12 packet constants
Almost there! :>
2020-06-05 23:06:00 +02:00
KennyTV
9f80553749
Safety checks, packet type constants for 1.12->1.13 protocol 2020-06-05 22:33:48 +02:00
KennyTV
d7d4e58106
Packet type constants and auto channel mapping 2020-06-05 20:48:35 +02:00
KennyTV
9a59c40ce1
Fix dimension registry data 2020-06-05 14:02:09 +02:00
KennyTV
8a00e260f6
Pre 2 protocol bump 2020-06-05 13:22:58 +02:00
KennyTV
1285a0c6bf
1.16-pre1 2020-06-05 00:42:39 +02:00
KennyTV
eb9d913cb6
Add toString, equals, and hashCode to Metadata 2020-06-03 11:19:54 +02:00
KennyTV
796a42c981
Send new 20w22a tags 2020-05-29 20:36:40 +02:00
KennyTV
a9e2544188
20w22a 2020-05-29 15:14:18 +02:00
KennyTV
bea01bc794
Fix respawn reading 2020-05-23 12:46:15 +02:00
KennyTV
799c933d95
Make SoundRewriter fields protected 2020-05-23 11:14:50 +02:00
KennyTV
6b9e67f96b
Sound rewriter cleanup - don't send -1 sound ids
Addresses #1783
2020-05-23 10:56:27 +02:00
KennyTV
af3023562d
Fix dimension identifier 2020-05-20 17:02:22 +02:00
KennyTV
92f4e3dd81
20w21a 2020-05-20 16:44:12 +02:00
Myles
f7eb445d61
Merge pull request #1775 from KennyTV/abstraction
20w20a
2020-05-16 16:22:35 +01:00
KennyTV
98b77278cd
20w20b 2020-05-14 11:53:27 +02:00
FivePB (Xer)
1394c70981
Shouldn't try to write helpful messages when drunk 2020-05-13 20:56:15 +02:00
FivePB (Xer)
595b8c3b56
Yes much tree 2020-05-13 20:50:28 +02:00
FivePB (Xer)
27cbd844f0
Much fighting over this mess(age) 2020-05-13 20:48:51 +02:00
KennyTV
5c5c1ed402
20w20a 2020-05-13 18:08:33 +02:00
KennyTV
245c7e8219
Add wall_post_override blocktag 2020-05-12 22:51:02 +02:00
KennyTV
25d54ae229
Add runnable list to be executed before the full init 2020-05-09 09:46:15 +02:00
Gerrygames
5009ffbb5a handle new window type in 1.16 2020-05-08 01:36:24 +02:00
KennyTV
47b43402f5
20w19a 2020-05-06 19:11:05 +02:00
konwboy
222c03aa67 Fix block connections causing issues with TNT 2020-05-05 19:49:59 +02:00
Myles
d5ff2b5b63
Merge pull request #1735 from KennyTV/abstraction
Add fire connection handler
2020-05-02 15:35:38 +01:00
Gerrygames
93d21efd3d fix enchantments in enchanting table for 1.16 2020-04-29 21:10:05 +02:00
KennyTV
19201134a8
20w18a 2020-04-29 18:09:57 +02:00
KennyTV
da2f153a43
Share JsonParser instance 2020-04-27 14:41:57 +02:00
KennyTV
24ebb77860
Directly add dependent futures to the list instead of waiting for the extra boolean 2020-04-24 13:48:22 +02:00
KennyTV
e4bac5f81a
Improve shutdown of executor loader and mappings cache
Previously, the shutdown check would only happen once all futures were removed, as in a player joined that had to check the remaining protocols.
Now, the check will be done regularly once the plugin has fully been enabled and has the option to delay the shutdown until set on again (i.e. with ViaBackwards)
2020-04-24 13:27:29 +02:00
KennyTV
4b9a15b003
Some javadoc changes 2020-04-24 11:39:11 +02:00
KennyTV
32826467d3
Wrap reflectiveoperationexception in concurrentlist clone 2020-04-23 21:42:08 +02:00
KennyTV
886ac734f9
Add null check to channel close 2020-04-23 21:09:41 +02:00
KennyTV
762c66ff42
Farewell, lombok! 2020-04-23 21:07:12 +02:00
KennyTV
53b8c2328e
Uncache UserConnection on channel close, fix memory leak 2020-04-23 20:24:16 +02:00