|
TModLoader v1.4.4.9
TModLoader source code documentation
|
|
inlinevirtual |
Allows you to determine whether an NPC can be collided with the player melee weapon when swung.
Use M:Terraria.ModLoader.ModNPC.CanBeHitByItem(Terraria.Player,Terraria.Item) instead for Guide Voodoo Doll-type effects.
| player | The player wielding this item. |
| item | The weapon item the player is holding. |
| meleeAttackHitbox | Hitbox of melee attack. |
Definition at line 490 of file ModNPC.cs.