tModLoader v2024.10
A mod to make and play Terraria mods
|
Static Public Member Functions | |
static void | DropItem (DropAttemptInfo info, int item, int stack, bool scattered=false) |
static int | DropItem (Rectangle rectangle, IEntitySource entitySource, int itemId, int stack, bool scattered) |
static int | DropItem (Vector2 position, IEntitySource entitySource, int itemId, int stack) |
static void | DropItemForEachInteractingPlayerOnThePlayer (NPC npc, int itemId, UnifiedRandom rng, int chanceNumerator, int chanceDenominator, int stack=1, bool interactionRequired=true) |
static void | DropItemFromNPC (NPC npc, int itemId, int stack, bool scattered=false) |
static void | DropItemLocalPerClientAndSetNPCMoneyTo0 (NPC npc, int itemId, int stack, bool interactionRequired=true) |
static void | ModifyItemDropFromNPC (NPC npc, int itemIndex) |