tModLoader v2024.11
A mod to make and play Terraria mods
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]