ClassLootProfile

public final class ClassLootProfile extends Record

Immutable, resolved loot policy. Configuration parsing and death-event delivery live elsewhere.

Constructors

Link copied to clipboard
public void ClassLootProfile(String primary, List<ClassLootProfile.Rule> enchantments, List<ClassLootProfile.Rule> rareEnchantments, List<String> potionEffects)
public void ClassLootProfile(String primary, List<ClassLootProfile.Rule> enchantments, List<ClassLootProfile.Rule> rareEnchantments)

Types

Link copied to clipboard
public final class Roll extends Record
Link copied to clipboard
public final class Rule extends Record

Functions

Link copied to clipboard
public static Enchantment nativeEnchantment(String key)
Link copied to clipboard
public ClassLootProfile.Roll roll(double fraction, int minimumPrimaryLevel)
Link copied to clipboard
public static boolean supports(ClassLootFamily family, String key)

public static boolean supports(SkillType skill, String key)
Deliberate EM affinities, including Power on crossbows and Sharpness on melee families.

Inherited functions

Link copied to clipboard
public abstract boolean equals(Object p)
Link copied to clipboard
public abstract int hashCode()
Link copied to clipboard
public abstract String toString()