JEI hack for 1.10

This commit is contained in:
Vincent Lee committed 2016-06-24 18:59:23 -05:00
1 parent 6f348e7db1
commit f7a1f629be
6 files changed
+36

No files matched your search

@@ -28,6 +28,12 @@ public class BreweryRecipeHandler implements IRecipeHandler<RecipeBrew> {
return "botania.brewery";
}
@Nonnull
// @Override todo hack to support 1.10 JEI
public String getRecipeCategoryUid(Object o) { // o is erased type param
return getRecipeCategoryUid();
}
@Nonnull
@Override
public IRecipeWrapper getRecipeWrapper(@Nonnull RecipeBrew recipe) {
@@ -28,6 +28,12 @@ public class ElvenTradeRecipeHandler implements IRecipeHandler<RecipeElvenTrade>
return "botania.elvenTrade";
}
@Nonnull
// @Override todo hack to support 1.10 JEI
public String getRecipeCategoryUid(Object o) { // o is erased type param
return getRecipeCategoryUid();
}
@Nonnull
@Override
public IRecipeWrapper getRecipeWrapper(@Nonnull RecipeElvenTrade recipe) {
@@ -28,6 +28,12 @@ public class ManaPoolRecipeHandler implements IRecipeHandler<RecipeManaInfusion>
return "botania.manaPool";
}
@Nonnull
// @Override todo hack to support 1.10 JEI
public String getRecipeCategoryUid(Object o) { // o is erased type param
return getRecipeCategoryUid();
}
@Nonnull
@Override
public IRecipeWrapper getRecipeWrapper(@Nonnull RecipeManaInfusion recipe) {
@@ -28,6 +28,12 @@ public class PetalApothecaryRecipeHandler implements IRecipeHandler<RecipePetals
return "botania.petals";
}
@Nonnull
// @Override todo hack to support 1.10 JEI
public String getRecipeCategoryUid(Object o) { // o is erased type param
return getRecipeCategoryUid();
}
@Nonnull
@Override
public IRecipeWrapper getRecipeWrapper(@Nonnull RecipePetals recipe) {
@@ -28,6 +28,12 @@ public class PureDaisyRecipeHandler implements IRecipeHandler<RecipePureDaisy> {
return "botania.pureDaisy";
}
@Nonnull
// @Override todo hack to support 1.10 JEI
public String getRecipeCategoryUid(Object o) { // o is erased type param
return getRecipeCategoryUid();
}
@Nonnull
@Override
public IRecipeWrapper getRecipeWrapper(@Nonnull RecipePureDaisy recipe) {
@@ -28,6 +28,12 @@ public class RunicAltarRecipeHandler implements IRecipeHandler<RecipeRuneAltar>
return "botania.runicAltar";
}
@Nonnull
// @Override todo hack to support 1.10 JEI
public String getRecipeCategoryUid(Object o) { // o is erased type param
return getRecipeCategoryUid();
}
@Nonnull
@Override
public IRecipeWrapper getRecipeWrapper(@Nonnull RecipeRuneAltar recipe) {