Interface Filtering<T extends LivingEntity>
- Type Parameters:
T
- Type of Entity to filter
- All Known Implementing Classes:
PathfinderAvoidEntity
,PathfinderLookAtEntity
,PathfinderNearestAttackableTarget
,PathfinderNearestAttackableTargetRaider
,PathfinderNearestHealableRaider
,PathfinderWildTarget
public interface Filtering<T extends LivingEntity>
Represents a Pathfinder that filters in an entity class
-
Method Summary
-
Method Details
-
setFilter
Set the Filter that this Pathfinder is looking for.- Parameters:
clazz
- Filter to set- Throws:
IllegalArgumentException
- if clazz is null
-
getFilter
Get the filter that this Pathfinder is looking for.- Returns:
- Filter found
-