getRestrictionContext
public static GearRestrictionHandler.RestrictionContext getRestrictionContext(Player player, ItemStack itemStack)
Captures the player state that can change an otherwise unchanged item's eligibility. PlayerItem includes this in its cache key so login hydration, configuration reloads and skill-level changes cannot leave a stale equipment snapshot behind.