Fixed drying registry
This commit is contained in:
parent
26cd6f2b3f
commit
b066de43f5
2 changed files with 5 additions and 3 deletions
|
@ -21,6 +21,8 @@ public class TConstructHelper {
|
||||||
public static List<ICastingRecipe> basinCasting = null;
|
public static List<ICastingRecipe> basinCasting = null;
|
||||||
public static List<ICastingRecipe> tableCasting = null;
|
public static List<ICastingRecipe> tableCasting = null;
|
||||||
public static List<MeltingRecipe> smeltingList = null;
|
public static List<MeltingRecipe> smeltingList = null;
|
||||||
|
public static List<DryingRecipe> dryingList = null;
|
||||||
|
|
||||||
// public static Map<ItemMetaWrapper, Integer> temperatureList = null;
|
// public static Map<ItemMetaWrapper, Integer> temperatureList = null;
|
||||||
public static List<FluidStack> fuelList = new ArrayList<FluidStack>();
|
public static List<FluidStack> fuelList = new ArrayList<FluidStack>();
|
||||||
public static Map<String, IModifier> modifiers = new THashMap<String, IModifier>();
|
public static Map<String, IModifier> modifiers = new THashMap<String, IModifier>();
|
||||||
|
@ -30,12 +32,12 @@ public class TConstructHelper {
|
||||||
try {
|
try {
|
||||||
alloys = ReflectionHelper.getStaticObject(TinkerRegistry.class, "alloyRegistry");
|
alloys = ReflectionHelper.getStaticObject(TinkerRegistry.class, "alloyRegistry");
|
||||||
smeltingList = ReflectionHelper.getStaticObject(TinkerRegistry.class, "meltingRegistry");
|
smeltingList = ReflectionHelper.getStaticObject(TinkerRegistry.class, "meltingRegistry");
|
||||||
|
dryingList = ReflectionHelper.getStaticObject(TinkerRegistry.class, "dryingRegistry");
|
||||||
basinCasting = ReflectionHelper.getStaticObject(TinkerRegistry.class, "basinCastRegistry");
|
basinCasting = ReflectionHelper.getStaticObject(TinkerRegistry.class, "basinCastRegistry");
|
||||||
tableCasting = ReflectionHelper.getStaticObject(TinkerRegistry.class, "tableCastRegistry");
|
tableCasting = ReflectionHelper.getStaticObject(TinkerRegistry.class, "tableCastRegistry");
|
||||||
modifiers = ReflectionHelper.getStaticObject(TinkerRegistry.class, "modifiers");
|
modifiers = ReflectionHelper.getStaticObject(TinkerRegistry.class, "modifiers");
|
||||||
modifiers_clone = new THashMap<String, IModifier>(modifiers);
|
modifiers_clone = new THashMap<String, IModifier>(modifiers);
|
||||||
fuelList = new ArrayList<>(TinkerRegistry.getSmelteryFuels());
|
fuelList = new ArrayList<>(TinkerRegistry.getSmelteryFuels());
|
||||||
|
|
||||||
} catch (Exception e) {
|
} catch (Exception e) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -39,7 +39,7 @@ public class Drying {
|
||||||
//Passes the list to the base list implementation, and adds the recipe
|
//Passes the list to the base list implementation, and adds the recipe
|
||||||
private static class Add extends BaseListAddition<DryingRecipe> {
|
private static class Add extends BaseListAddition<DryingRecipe> {
|
||||||
public Add(DryingRecipe recipe) {
|
public Add(DryingRecipe recipe) {
|
||||||
super(Drying.name, TinkerRegistry.getAllDryingRecipes());
|
super(Drying.name, TConstructHelper.dryingList);
|
||||||
this.recipes.add(recipe);
|
this.recipes.add(recipe);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -72,7 +72,7 @@ public class Drying {
|
||||||
//Removes a recipe, apply is never the same for anything, so will always need to override it
|
//Removes a recipe, apply is never the same for anything, so will always need to override it
|
||||||
private static class Remove extends BaseListRemoval<DryingRecipe> {
|
private static class Remove extends BaseListRemoval<DryingRecipe> {
|
||||||
public Remove(List<DryingRecipe> list) {
|
public Remove(List<DryingRecipe> list) {
|
||||||
super(Drying.name, TinkerRegistry.getAllDryingRecipes(), list);
|
super(Drying.name, TConstructHelper.dryingList, list);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
Loading…
Reference in a new issue