mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-18 03:15:07 +00:00
Fix some todos, modernize JEI, other housekeeping
This commit is contained in:
1 parent
4cc6ab2266
commit
4091c7e4fb
33 files changed
+65
-347
No files matched your search
@@ -520,10 +520,9 @@ public final class BotaniaAPI {
|
||||
|
||||
/**
|
||||
* Registers a SubTileEntity, a new special flower. Look in the subtile package of the API.
|
||||
* Call this in preInit, and don't forget to register a model in BotaniaAPIClient.
|
||||
* Call this during {@code RegistryEvent.Register<Block>}, and don't forget to register a model in BotaniaAPIClient.
|
||||
*/
|
||||
public static void registerSubTile(String key, Class<? extends SubTileEntity> subtileClass) {
|
||||
// todo 1.12 Preconditions.checkArgument(Loader.instance().isInState(LoaderState.PREINITIALIZATION));
|
||||
subTiles.put(key, subtileClass);
|
||||
subTileMods.put(key, Loader.instance().activeModContainer().getModId());
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user