KnockbackEvents

public final class KnockbackEvents

Registers one platform event against the caller's existing listener lifecycle.

Functions

Link copied to clipboard
public static void registerCancellation(Plugin plugin, Listener listener, Predicate<Entity> cancel)
Link copied to clipboard
public static void registerEntityScale(Plugin plugin, Listener listener, BiFunction<Entity, Entity, Double> multiplier)