This PR brings the needed changes to run on the recent Forge 1.19.3 versions & adds a new CreativeModeTab registration system to match Forge's CreativeModeTab events.
Updated data-gens to all take in PackOutput rather than DataGenerator to match Forge & Vanilla
Added methods to create, register & modify CreativeModeTabs
This PR brings the needed changes to run on the recent Forge 1.19.3 versions & adds a new CreativeModeTab registration system to match Forge's CreativeModeTab events.
Updated data-gens to all take in
PackOutput
rather thanDataGenerator
to match Forge & VanillaAdded methods to create, register & modify CreativeModeTabs
AbstractRegistrate#buildCreativeModeTab(String, [@Nullable List<Object>], [@Nullable List<Object>], Consumer<CreativeModeTab.Builder>, [@Nullable String])
AbstractRegistrate#creativeModeTab(String, [@Nullable List<Object>], [@Nullable List<Object>], Consumer<CreativeModeTab.Builder>, [@Nullable String])
#buildCreativeModeTab
but returns the Registrate instance to allow method chainingAbstractRegistrate#creativeModeTab(Supplier<? extends CreativeModeTab>)
AbstractRegistrate#modifyCreativeModeTab(Supplier<? extends CreativeModeTab>, Consumer<CreativeModeTabModifier>)
ItemBuilder#tab(NonNullSupplier<? extends CreativeModeTab>, [Consumer<AbstractRegistrate.CreativeModeTabModifier>])
ItemBuilder#removeTab(NonNullSupplier<? extends CreativeModeTab>)