Record Class FollowProcess.ItemFollowTarget
java.lang.Object
java.lang.Record
com.zenith.feature.pathfinder.process.FollowProcess.ItemFollowTarget
- All Implemented Interfaces:
FollowProcess.FollowTarget
- Enclosing class:
FollowProcess
public static record FollowProcess.ItemFollowTarget(Predicate<ItemStack> filter)
extends Record
implements FollowProcess.FollowTarget
-
Constructor Summary
ConstructorsConstructorDescriptionItemFollowTarget(Predicate<ItemStack> filter) Creates an instance of aItemFollowTargetrecord class. -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.filter()Returns the value of thefilterrecord component.final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ItemFollowTarget
-
-
Method Details
-
pathingCommand
- Specified by:
pathingCommandin interfaceFollowProcess.FollowTarget
-
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. All components in this record class are compared withObjects::equals(Object,Object). -
filter
-