Fix some todos, modernize JEI, other housekeeping

This commit is contained in:
Vincent Lee committed 2017-06-25 16:44:08 -05:00
1 parent 4cc6ab2266
commit 4091c7e4fb
33 files changed
+65 -347

No files matched your search

@@ -33,7 +33,7 @@ public final class BotaniaAPIClient {
/**
* Register your model for the given subtile class here.
* Call this DURING PREINIT. Calling it anytime after blockModels have already baked does not guarantee that your model will work.
* Call this during {@code ModelRegistryEvent}. Calling it anytime after blockModels have already baked does not guarantee that your model will work.
* Your model json must specify key "tintindex" in all the faces it wants tint applied.
* Tint is applied whenever a player recolors the flower using floral dye
*
@@ -42,7 +42,6 @@ public final class BotaniaAPIClient {
* @param itemModel A path to a blockstate json and variant to be used for this subtile's item form
*/
public static void registerSubtileModel(String subTileName, ModelResourceLocation model, ModelResourceLocation itemModel) {
// todo 1.12 Preconditions.checkState(Loader.instance().isInState(LoaderState.PREINITIALIZATION));
subtileBlockModels.put(subTileName, model);
subtileItemModels.put(subTileName, itemModel);
}
@@ -85,13 +84,12 @@ public final class BotaniaAPIClient {
/**
* Registers your model for island type islandType here.
* Call this DURING PREINIT.
* Call this during {@code ModelRegistryEvent}.
*
* @param islandType The islandtype to register
* @param model The variant within a blockstate json to use as the islandtype's model
*/
public static void registerIslandTypeModel(IFloatingFlower.IslandType islandType, ModelResourceLocation model) {
// todo 1.12 Preconditions.checkState(Loader.instance().isInState(LoaderState.PREINITIALIZATION));
islandTypeModels.put(islandType, model);
}