Commit Graph

30 Commits

Author SHA1 Message Date
TheMode
98e6b23fdd
1.18.2 update (#714) 2022-03-01 00:40:19 +01:00
TheMode
0743759eed
Do not cache registry (#651) 2022-02-04 22:28:05 +01:00
TheMode
eb3c894971 Inline registry loading
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-17 23:40:46 +01:00
TheMode
7a9b08b085 Improve Registry.Container
Signed-off-by: TheMode <themode@outlook.fr>
2022-01-14 10:45:44 +01:00
themode
74e00bc70c Add potion constructor without flags, style 2022-01-10 16:51:21 +01:00
themode
b997b87dc1 Improve item meta creation performance 2022-01-10 16:51:21 +01:00
MrGazdag
e3f08fb6d5 Add Potion flags (#536)
* Add Potion flags

* fix wrong value

* i blame my keyboard

* Add methods for the flags
2022-01-10 16:51:21 +01:00
TheMode
05de99f45f immutable packets (record) (#528) 2022-01-10 16:51:21 +01:00
TheMode
a29cac471b More records
Signed-off-by: TheMode <themode@outlook.fr>
2021-11-07 14:33:07 +01:00
TheMode
b298334d24
Decrease memory footprint of the registry cache (#521) 2021-11-07 13:40:54 +01:00
TheMode
b308ce5baa
Update to Java 17 (#462) 2021-10-22 01:55:55 +02:00
TheMode
02d927cc4d Rename internal registry constant holder interfaces
Signed-off-by: TheMode <themode@outlook.fr>
2021-09-06 13:32:52 +02:00
TheMode
3ff5a7f414 Implement toString for registry objects 2021-08-13 21:15:43 +02:00
TheMode
f865a7b9dd Reduce registry boilerplate 2021-07-30 15:29:05 +02:00
TheMode
c9f234cb1d Use #getSafe 2021-07-30 15:09:18 +02:00
TheMode
3dd35c1605 Use a single registry-impl class per type 2021-07-30 15:08:06 +02:00
TheMode
16e4b61eb7 Fix unused imports 2021-07-29 00:02:43 +02:00
TheMode
13b7039721 Replace most enums 2021-07-28 14:29:28 +02:00
Tyan
855c8af455 Added ExceptionManager for custom exception handling 2021-01-20 11:43:45 +01:00
themode
fd920ffdfe Potion cleanup 2020-12-31 12:05:36 +01:00
ThatCreeper
0ce094567b Fix most checkstyle warnings 2020-12-30 19:27:29 -06:00
ThatCreeper
c3d6af3afe make removeEffect send a packet
Make Potion immutable, and use long instead of Long
2020-12-30 19:07:07 -06:00
ThatCreeper
c01b57ed9b removed scheduledPotions 2020-12-30 18:55:20 -06:00
ThatCreeper
fa41aabaed Make Potions use time instead of nanoTime 2020-12-30 18:47:43 -06:00
ThatCreeper
d7883d29ff Rewrite Potions 2020-12-30 18:29:07 -06:00
ThatCreeper
50b44e46e0 Add PotionEffectManager 2020-12-30 17:12:03 -06:00
themode
69d4792191 WIP collection deep cloning. Starting with PotionMeta 2020-12-15 03:29:47 +01:00
themode
0b6a063311 Added support for CustomPotionEffect in PotionMeta 2020-10-16 16:32:57 +02:00
jglrxavpok
7c3d3f6f07 Completely removed RegistryMain 2020-06-29 20:29:50 +02:00
Felix Cravic
0354a60635 Added Enchantment & PotionType enum + PlayerCommandEvent call 2020-04-29 19:23:47 +02:00