WeaponIdentityResolver

public final class WeaponIdentityResolver

Canonical item-to-weapon boundary.

FMM owns authored item identity and weapon family. An unresolved FMM item never falls through to material inference, including while its provider is unavailable.

Functions

Link copied to clipboard
public static boolean isMagicWeapon(@Nullable() ItemStack itemStack)
Link copied to clipboard
@Nullable()
public static SkillType progressionSkill(@Nullable() ItemStack itemStack)
Link copied to clipboard
@Nullable()
public static SkillType progressionSkillIncludingArmor(@Nullable() ItemStack itemStack)
Link copied to clipboard
public static WeaponResolution resolve(@Nullable() ItemStack itemStack)
Link copied to clipboard
public static Optional<WeaponIdentity> resolvedIdentity(@Nullable() ItemStack itemStack)