public interface IFollowProcess extends IBaritoneProcess
DEFAULT_PRIORITY
Modifier and Type | Method and Description |
---|---|
default void |
cancel()
Cancels the follow behavior, this will clear the current follow target.
|
java.util.function.Predicate<net.minecraft.entity.Entity> |
currentFilter() |
void |
follow(java.util.function.Predicate<net.minecraft.entity.Entity> filter)
Set the follow target to any entities matching this predicate
|
java.util.List<net.minecraft.entity.Entity> |
following() |
displayName, displayName0, isActive, isTemporary, onLostControl, onTick, priority
void follow(java.util.function.Predicate<net.minecraft.entity.Entity> filter)
filter
- the predicatejava.util.List<net.minecraft.entity.Entity> following()
java.util.function.Predicate<net.minecraft.entity.Entity> currentFilter()
default void cancel()