tModLoader v2025.03
A mod to make and play Terraria mods
All Classes Namespaces Functions Variables Enumerations Enumerator Properties Events Pages
PrefixLoader Class Reference

Static Public Member Functions

static void ApplyAccessoryEffects (Player player, Item item)
 
static bool CanRoll (Item item, int prefix)
 
static ModPrefix GetPrefix (int type)
 Returns the ModPrefix associated with specified type If not a ModPrefix, returns null.
 
static IReadOnlyList< ModPrefixGetPrefixesInCategory (PrefixCategory category)
 Returns a list of all modded prefixes of a certain category.
 
static bool IsWeaponSubCategory (PrefixCategory category)
 
static bool Roll (Item item, UnifiedRandom unifiedRandom, out int prefix, bool justCheck)
 

Properties

static int PrefixCount = PrefixID.Count [get]