mirror of
https://github.com/GTNewHorizons/Botania.git
synced 2026-11-19 19:59:36 +00:00
JEI hack for 1.10
This commit is contained in:
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) {
|
||||
|
||||
+6
@@ -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) {
|
||||
|
||||
+6
@@ -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) {
|
||||
|
||||
+6
@@ -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) {
|
||||
|
||||
+6
@@ -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) {
|
||||
|
||||
+6
@@ -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) {
|
||||
|
||||
Reference in new issue
Block a user