ContainerAllowlist

@FunctionalInterface()
public interface ContainerAllowlist

Optional provider hook: lets a host plugin allow specific containers (chests, barrels, shulker boxes) to be opened inside a protected world. EliteMobs registers one that returns true for blocks tagged as treasure chests. ETD and other plugins can leave this unset, in which case every container in a protected world is blocked.

Functions

Link copied to clipboard
public abstract boolean isAllowed(Block block)