T - the generic typepublic static interface ModEventRegistry.FMLEventPredicate<T extends net.minecraftforge.fml.common.event.FMLEvent> extends ICallback.ICallbackPredicate
ICallback.ICallbackPredicate for FMLEventsALWAYS_FALSE, ALWAYS_TRUE| Modifier and Type | Method and Description |
|---|---|
default boolean |
apply(java.lang.Object... params)
Returns whether the associated
ICallback should be called or not. |
boolean |
apply(T event) |
alwaysFalse, alwaysTrue, and, negate, ordefault boolean apply(java.lang.Object... params)
ICallback.ICallbackPredicateICallback should be called or not.apply in interface ICallback.ICallbackPredicateparams - the paramsboolean apply(T event)