Class InvertedFluidFilter
java.lang.Object
alexiil.mc.lib.attributes.fluid.filter.InvertedFluidFilter
- All Implemented Interfaces:
FluidFilter,ReadableFluidFilter
public final class InvertedFluidFilter extends java.lang.Object implements ReadableFluidFilter
The default implementation for
FluidFilter.negate()-
Field Summary
Fields Modifier and Type Field Description FluidFilterdelegate -
Constructor Summary
Constructors Constructor Description InvertedFluidFilter(FluidFilter delegate) -
Method Summary
Modifier and Type Method Description booleanmatches(FluidKey fluidKey)Checks to see if the given filter matches the given fluid key.FluidFilternegate()Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface alexiil.mc.lib.attributes.fluid.filter.FluidFilter
and, asPredicate, or
-
Field Details
-
Constructor Details
-
Method Details
-
matches
Description copied from interface:FluidFilterChecks to see if the given filter matches the given fluid key.- Specified by:
matchesin interfaceFluidFilter
-
negate
- Specified by:
negatein interfaceFluidFilter
-