Class InvertedFluidFilter
java.lang.Object
alexiil.mc.lib.attributes.fluid.filter.InvertedFluidFilter
- All Implemented Interfaces:
FluidFilter
,ReadableFluidFilter
The default implementation for
FluidFilter.negate()
-
Field Summary
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
Checks to see if the given filter matches the given fluid key.negate()
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, or
-
Field Details
-
delegate
-
-
Constructor Details
-
InvertedFluidFilter
-
-
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
-
negate
- Specified by:
negate
in interfaceFluidFilter
-