Interface SpottingIconPredicate.IconPredicate<T extends net.minecraft.world.entity.Entity>

Enclosing class:
SpottingIconPredicate<T extends net.minecraft.world.entity.Entity>
Functional Interface:
This is a functional interface and can therefore be used as the assignment target for a lambda expression or method reference.

@FunctionalInterface public static interface SpottingIconPredicate.IconPredicate<T extends net.minecraft.world.entity.Entity>
  • Method Summary

    Modifier and Type
    Method
    Description
    default void
    onAdded(T entity)
     
    default void
    onRemoved(T entity)
     
    boolean
    test(T entity)
     
  • Method Details

    • test

      boolean test(T entity)
    • onAdded

      default void onAdded(T entity)
    • onRemoved

      default void onRemoved(T entity)