IEntityProcessor

public interface IEntityProcessor<T extends Entity> implements Function<T, R>(source)

Interface defining an entity processor. To register an entity processor, see opekope2.optigui.annotation.EntityProcessor documentation. The name of the entrypoint is optigui-entityprocessor.

Parameters

<T>

The entity type the processor accepts

See also

Functions

Link copied to clipboard
@Nullable()
public static @Nullable() IEntityProcessor<T> ofClass<T extends Entity>(@NotNull() @NotNull() Class<@NotNull() T> type)
Finds the registered entity processor for the given entity class.

Inherited functions

Link copied to clipboard
public Function<T, V> andThen<V>(Function<? extends Object, ? extends V> after)
Link copied to clipboard
public abstract R apply(T p)
Link copied to clipboard
public Function<V, R> compose<V>(Function<? extends Object, ? extends T> before)
Link copied to clipboard
public static Function<T, T> identity<T>()