mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-11 15:57:52 +00:00
Merge pull request #44 from Voidi/master
fix: add liquid to Forestry Carpenters internal tank filter, so new liquids are accepted
This commit is contained in:
commit
fe902af6fb
2 files changed
+6
No files matched your search
@@ -54,6 +54,7 @@ public class Carpenter {
|
||||
private static class Add extends BaseListAddition {
|
||||
public Add(Recipe recipe) {
|
||||
super("Forestry Carpenter", MachineCarpenter.RecipeManager.recipes, recipe);
|
||||
RecipeManager.recipeFluids.add(recipe.getLiquid().getFluid());
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -52,6 +52,11 @@ public class ThermionicFabricator {
|
||||
MineTweakerAPI.apply(new Add(new Recipe(toStack(plan), toFluid(fluidInput), new ShapedRecipeCustom(3, 3, flatList, toStack(product)))));
|
||||
}
|
||||
|
||||
@ZenMethod
|
||||
public static void removeCast(IItemStack product) {
|
||||
MineTweakerAPI.apply(new RemoveCastings(toStack(product)));
|
||||
}
|
||||
|
||||
@ZenMethod
|
||||
public static void removeCasts(IItemStack product) {
|
||||
MineTweakerAPI.apply(new RemoveCastings(toStack(product)));
|
||||
|
||||
Reference in new issue
Block a user