ProtectionManager
Handles protection checks using registered ProtectionIntegrations.
Protection checks are cached for 60s after the last access. If all protection integrations can be called asynchronously, commonly used protection checks will be refreshed every 30s.
Functions
Checks whether the given ctx passes break permission checks.
Checks if that tileEntity can break a block at that pos using that item.
Checks if that tileEntity can break a block at that pos using that item.
Checks if the tileEntity can hurt the entity with this item.
Checks if the tileEntity can hurt the entity with this item.
Checks if the tileEntity can interact with the entity wile holding that item.
Checks if the tileEntity can interact with the entity while holding that item.
Checks whether the given ctx passes place permission checks.
Checks if the tileEntity can place that item at that pos.
Checks if the tileEntity can place that item at that pos.
Checks whether the given ctx passes block interaction permission checks.
Checks if the tileEntity can interact with a block at that pos using that item.
Checks if the tileEntity can interact with a block at that pos using that item.
Checks if the tileEntity can use that item at that location.
Checks if the tileEntity can use that item at that location.