mirror of
https://github.com/GTNewHorizons/ModTweaker.git
synced 2026-11-13 00:37:27 +00:00
Removes dead method
This commit is contained in:
1 parent
ec562b62ea
commit
affd82eac4
2 files changed
+3
-13
No files matched your search
@@ -98,11 +98,12 @@ public class Vat {
|
||||
// Removes a recipe, apply is never the same for anything, so will always
|
||||
// need to override it
|
||||
private static class Remove extends BaseListRemoval {
|
||||
private final FluidStack fluid;
|
||||
private FluidStack fluid = null;
|
||||
|
||||
public Remove(ItemStack stack, FluidStack fluid) {
|
||||
super("Mariculture Vat", MaricultureHandlers.vat.getRecipes(), stack);
|
||||
this.fluid = fluid;
|
||||
if (fluid != null)
|
||||
this.fluid = fluid;
|
||||
}
|
||||
|
||||
// Loops through the registry, to find the item that matches, saves that
|
||||
|
||||
@@ -20,17 +20,6 @@ import static modtweaker2.helpers.StackHelper.*;
|
||||
|
||||
@ZenClass("mods.tconstruct.Tweaks")
|
||||
public class TiCTweaks {
|
||||
// Set the maximum RF
|
||||
@ZenMethod
|
||||
public static void setRFCapacity(String tool, int capacity) {
|
||||
MineTweakerAPI.apply(new AdjustRF(tool, capacity));
|
||||
}
|
||||
|
||||
private static class AdjustRF extends BaseSetVar {
|
||||
public AdjustRF(String tool, int newValue) {
|
||||
super("RF Maximum for Tinkers Tools", ToolCore.class, ReflectionHelper.getStaticObject(TinkerTools.class, tool), "capacity", 400000, newValue);
|
||||
}
|
||||
}
|
||||
|
||||
// //////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
||||
Reference in new issue
Block a user