Skip to content

Commit e2f4667

Browse files
committed
make filters by default transfer infinity amount of contents instead of 64 or 1000
1 parent d97b4ce commit e2f4667

3 files changed

Lines changed: 3 additions & 3 deletions

File tree

src/main/java/de/srendi/advancedperipherals/common/util/inventory/ChemicalFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public class ChemicalFilter extends GenericFilter<ChemicalStack> {
2222

2323
private Holder<Chemical> chemical = MekanismAPI.EMPTY_CHEMICAL_HOLDER;
2424
private TagKey<Chemical> tag = null;
25-
private long amount = 1000;
25+
private long amount = Long.MAX_VALUE;
2626
private String fingerprint = "";
2727
public int fromSlot = -1;
2828
public int toSlot = -1;

src/main/java/de/srendi/advancedperipherals/common/util/inventory/FluidFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ public class FluidFilter extends GenericFilter<FluidStack> {
3333
private Fluid fluid = Fluids.EMPTY;
3434
private TagKey<Fluid> tag = null;
3535
private DataComponentPatch components = null;
36-
private int amount = 1000;
36+
private int amount = Integer.MAX_VALUE;
3737
private String fingerprint = "";
3838

3939
private FluidFilter() {

src/main/java/de/srendi/advancedperipherals/common/util/inventory/ItemFilter.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ public class ItemFilter extends GenericFilter<ItemStack> {
3232
private Item item = Items.AIR;
3333
private TagKey<Item> tag = null;
3434
private DataComponentPatch components = null;
35-
private int count = 64;
35+
private int count = Integer.MAX_VALUE;
3636
private String fingerprint = "";
3737
public int fromSlot = -1;
3838
public int toSlot = -1;

0 commit comments

Comments
 (0)