Class FluidSetFilter
java.lang.Object
alexiil.mc.lib.attributes.fluid.filter.FluidSetFilter
- All Implemented Interfaces:
FluidFilter
,ReadableFluidFilter
public final class FluidSetFilter extends java.lang.Object implements ReadableFluidFilter
-
Constructor Summary
Constructors Constructor Description FluidSetFilter(java.util.Set<FluidKey> fluids)
-
Method Summary
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface alexiil.mc.lib.attributes.fluid.filter.FluidFilter
and, asPredicate, negate, or
-
Constructor Details
-
Method Details
-
matches
Description copied from interface:FluidFilter
Checks to see if the given filter matches the given fluid key.- Specified by:
matches
in interfaceFluidFilter
-
getFluids
- Returns:
- The set of fluids that this matches.
-