GearRestrictionHandler
Provides utility methods for skill-based gear restrictions. The actual restriction enforcement is handled by PlayerItem's equipment update system.
Functions
Link copied to clipboard
Gets the effective item level for combat purposes.
Link copied to clipboard
public static GearRestrictionHandler.RestrictionContext getRestrictionContext(Player player, ItemStack itemStack)
Captures the player state that can change an otherwise unchanged item's eligibility.
Link copied to clipboard
Sends the restriction message to a player.