Bump gradle wrapper to v8.1.1 and use Neogradle 7+
The RegistryObject delegate is replaced with a delegate to DeferredHolder
RegistryObject is gone and replaced with DeferredHolder
Replace deprecated code.
TODO:
[x] Eventbus changes
[x] Update Test mods implementation
[ ] FMLJavaModLoadingContext is deprecated and needs a future-proof solution.
[ ] Test
Library API Changes :
RegistryEntry<R,T> is now mapped to DeferredHolder<R, T> where is R is the resource key for the registry.
Helper entry classes like ItemEntry<T> extend RegistryEntry<Item, T> and thus wont require changes.
Changes:
RegistryObject
delegate is replaced with a delegate toDeferredHolder
RegistryObject
is gone and replaced withDeferredHolder
TODO:
FMLJavaModLoadingContext
is deprecated and needs a future-proof solution.Library API Changes :
RegistryEntry<R,T>
is now mapped toDeferredHolder<R, T>
where is R is the resource key for the registry. Helper entry classes likeItemEntry<T>
extendRegistryEntry<Item, T>
and thus wont require changes.