diff --git a/src/main/java/gregtech/api/DualHandler.java b/src/main/java/gregtech/api/DualHandler.java index 5a86952d085..95d7d15dc3d 100644 --- a/src/main/java/gregtech/api/DualHandler.java +++ b/src/main/java/gregtech/api/DualHandler.java @@ -123,10 +123,6 @@ public void removeNotifiableMetaTileEntity(MetaTileEntity metaTileEntity) { this.notifiables.remove(metaTileEntity); } - public static Builder builder() { - return new Builder(); - } - @Override public @NotNull List getFluidTanks() { if (this.fluidDelegate == null) return Collections.emptyList(); @@ -147,30 +143,4 @@ public int getTanks() { public boolean allowSameFluidFill() { return this.fluidDelegate != null && this.fluidDelegate.allowSameFluidFill(); } - - public static class Builder { - - IItemHandlerModifiable itemHandler; - IMultipleTankHandler fluidHandler; - IDirtyNotifiable notifiable; - - public Builder itemHandler(IItemHandlerModifiable itemHandler) { - this.itemHandler = itemHandler; - return this; - } - - public Builder fluidTank(IMultipleTankHandler fluidTank) { - this.fluidHandler = fluidTank; - return this; - } - - public Builder notifiable(IDirtyNotifiable notifiable) { - this.notifiable = notifiable; - return this; - } - - public DualHandler build(boolean isExport) { - return new DualHandler(this.itemHandler, this.fluidHandler, this.notifiable, isExport); - } - } }