Commit Graph

26 Commits

Author SHA1 Message Date
mworzala
d8fd80d02d use Check 2022-01-10 16:51:21 +01:00
Matt Worzala
0491a63e0c Remove extension observer mechanism and cleanup/simplify classloader 2022-01-10 16:51:21 +01:00
Matt Worzala
4d089d84fb Cleanup 2022-01-10 16:51:21 +01:00
Matt Worzala
58e5bab5da Stop using ExtensionDependencyResolver, load external dependencies correctly 2022-01-10 16:51:21 +01:00
Matt Worzala
0c6e4c0129 Remove Bootstrap, MinestomRootClassLoader. Cleanup 2022-01-10 16:51:21 +01:00
Matt Worzala
7130cc9dc9 Working extensions + extension dependencies without MSRC
The code is pretty messy, and external dependencies do not work (i dont think). MSEC instances now have a parent of MinecraftServer's CL and use the regular Java classloader search path (parent first). If the class cannot be found (its in a dependency), then it searches through its child classloaders (of which the dependency is one).
2022-01-10 16:51:21 +01:00
Matt Worzala
18ecefd97a remove code modification, bootstrap + MinestomRootClassLoader still required for now 2022-01-10 16:51:21 +01:00
Matt Worzala
a749f07a3f
Inline nullable and nonnull annotations 2021-05-21 08:56:30 -04:00
Matt Worzala
51409705e1
Stop using reflection, update to latest 2021-05-20 22:26:35 -04:00
LeoDog896
ee590e8325 Add meta 2021-04-17 15:00:52 -04:00
LeoDog896
d896cda22c Add comment describing null check 2021-03-26 19:52:31 -04:00
LeoDog896
78734b5a3c Add null check to makeClassLoader 2021-03-26 19:32:18 -04:00
LeoDog896
c60b92394c jglr's notes 2021-03-24 15:55:48 -04:00
LeoDog896
2de657bca6 Outsource classloader to DiscoveredExtension 2021-03-24 12:16:29 -04:00
LeoDog896
5e92e04c29 JavaDocs 2021-03-24 11:23:56 -04:00
LeoDog896
34a56cf00e Move to Map of Extension 2021-03-24 08:39:47 -04:00
LeoDog896
79a8f4bd93 General style alignment 2021-03-23 11:50:42 -04:00
LeoDog896
701b1cb2e5 Move to DiscoveredExtension vs ExtensionDescription
For those who are wondering why I replaced some streams:

https://stackoverflow.com/questions/16635398/java-8-iterable-foreach-vs-foreach-loop
2021-03-23 11:35:52 -04:00
jglrxavpok
9ce7a08d12 Extension can check if their code modifiers (including Mixins) loaded correctly 2021-02-04 19:11:43 +01:00
jglrxavpok
142b6a69a5 Post-merge fixes 2020-11-18 09:24:59 +01:00
jglrxavpok
925f5fa614 Reloading extensions 2020-11-03 21:26:46 +01:00
jglrxavpok
25cde2cde7 Mixin modifications between extensions is now possible 2020-11-03 10:26:31 +01:00
jglrxavpok
6df285723a Load extension dependencies 2020-10-25 19:58:19 +01:00
Articdive
0167a8f9ef
Add extension intra-dependency (hopefully) 2020-10-25 16:45:28 +01:00
Articdive
5217964259
Cleanup and improve extension changes. 2020-10-25 10:41:51 +01:00
jglrxavpok
535e8946b6 Extensions can declare Maven dependencies which will be auto-downloaded 2020-10-24 22:57:38 +02:00