Record Class FluidMixing.Selector.Any
java.lang.Object
java.lang.Record
fr.robie.machineengine.api.resource.fluid.FluidMixing.Selector.Any
- All Implemented Interfaces:
FluidMixing.Selector
- Enclosing interface:
FluidMixing.Selector
Any fluid, plain water included.
-
Nested Class Summary
Nested classes/interfaces inherited from interface FluidMixing.Selector
FluidMixing.Selector.Any, FluidMixing.Selector.Fluid, FluidMixing.Selector.Tag -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanmatches(@NotNull ResourceType present, @NotNull ResourceTags tags) final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
Any
public Any()Creates an instance of aAnyrecord class.
-
-
Method Details
-
matches
- Specified by:
matchesin interfaceFluidMixing.Selector
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal.
-