Interface SoundPredicate.LoopPredicate<T extends net.minecraft.world.entity.Entity>

Enclosing class:
SoundPredicate<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 SoundPredicate.LoopPredicate<T extends net.minecraft.world.entity.Entity>
  • Method Summary

    Modifier and Type
    Method
    Description
    default @Nullable Boolean
    firstTickTest(T entity)
     
    default void
    onStart(T entity)
     
    default void
    onStop(T entity)
     
    boolean
    test(T entity)
     
  • Method Details

    • test

      boolean test(T entity)
    • firstTickTest

      @Nullable default @Nullable Boolean firstTickTest(T entity)
    • onStart

      default void onStart(@Nullable T entity)
    • onStop

      default void onStop(@Nullable T entity)