Class FluidInsertableFilter
java.lang.Object
alexiil.mc.lib.attributes.fluid.filter.FluidInsertableFilter
- All Implemented Interfaces:
FluidFilter
public final class FluidInsertableFilter extends java.lang.Object implements FluidFilter
A
FluidFilter that checks to see if the given FluidInsertable could have the fluid inserted into it,
right now. (Note that this doesn't match the definition of FluidInsertable.getInsertionFilter(), so you
should never use it a return value from that).-
Field Summary
Fields Modifier and Type Field Description FluidInsertableinsertable -
Constructor Summary
Constructors Constructor Description FluidInsertableFilter(FluidInsertable insertable) -
Method Summary
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, negate, 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
-