49117 {
49118
49192 color =
default(Color);
49236 }
bool wet
The Entity is currently in water. Projectile: Affects movement speed and some projectiles die when ...
bool active
If true, the Entity actually exists within the game world. Within the specific entity array,...
AmmoID entries represent ammo types. Ammo items that share the same AmmoID value assigned to F:Terrar...
int ammo
The Ammo ID this item belongs to. Weapons with F:Terraria.Item.useAmmo set to the same AmmoID will co...
int timeSinceTheItemHasBeenReservedForSomeone
SoundStyle? UseSound
The sound this item makes when used. Set this to an existing T:Terraria.ID.SoundID entry or assign to...
float knockBack
The force of the knock back. Max value is 20. The Knockback wiki pagehas info on existing values....
bool expert
If true, then the given item is automatically given the Expert rarity, causing its name to be drawn i...
bool useTurn
Whether the player can turn around while the using animation of this item is happening....
bool consumeAmmoOnFirstShotOnly
Dictates whether or not this item should only consume ammo on its first shot of each use....
bool isAShopItem
If true, then the given item is being sold in a shop. Shop items display their price....
int hairDye
The numerical ID of the hair shader in F:Terraria.Graphics.Shaders.GameShaders.Hair this item will ap...
bool AllowReforgeForStackableItem
Set to true in SetDefaults to allow this item to receive a prefix on reforge even if maxStack is not ...
bool mech
If true, then the given item will show all placed wires and actuators when held. This item will also...
int useAnimation
The time span of the using animation for the item in ticks. This is independent of the time it takes ...
int dye
The numerical ID of the armor shader in F:Terraria.Graphics.Shaders.GameShaders.Armor this item activ...
bool material
Indicates that an item should show the material tooltip. Typically this means that the item is used i...
bool attackSpeedOnlyAffectsWeaponAnimation
Dictates whether or not attack speed modifiers on this weapon will actually affect its use time....
bool questItem
If true, categorizes the given item as a quest fish. Quest fish get a special tooltip,...
int fishingPole
The numerical value this item adds to a player's fishing skill when held. If greater than 0,...
int tileWand
The numerical ID of the item this item consumes when used. If greater than 0, this item cannot be us...
bool noMelee
If true, the item's using animation will not deal damage. Set to true on most weapons that aren't swo...
int crit
The base critical chance for this item. Remember that the player has a base crit chance of 4....
int value
The number of copper coins this item is worth (aka, cost to buy from a merchant). Setting it to 10462...
int reuseDelay
A delay in frames added at the end of the using animation for the item, during which the player wont ...
int pick
The Pickaxe power of this item. For example, Item.pick = 50; will appear as 50% Pickaxe Power in the ...
bool InterruptChannelOnHurt
When enabled and the player is hurt, F:Terraria.Player.channel will be set to false.
int stack
The current stack of the item. F:Terraria.Item.maxStack indicates the max possible stack.
int useAmmo
The Ammo ID this weapon will consume. Ammo items with F:Terraria.Item.ammo set to this same AmmoID wi...
bool StopAnimationOnHurt
When enabled and the player is hurt, F:Terraria.Player.channel will be set to false,...
byte paint
The numerical ID of the paint applied by this item when used with a paint brush or paint roller....
int healMana
The amount of mana this item restores on use. Use M:Terraria.ModLoader.ModItem.GetHealMana(Terraria...
int rare
Indicates the rarity of an item. Assign to a T:Terraria.ID.ItemRarityID value. Vanilla values range f...
bool ChangePlayerDirectionOnShoot
When true, shooting any projectile from this item will make the owner face the projectile....
int shoot
The ID of the projectile that is fired by this item on use. Either a T:Terraria.ID....
int maxStack
The maximum number of items that can be contained within a single stack. F:Terraria....
float scale
The size multiplier of the item's sprite while the item is being used. Also increases range for melee...
int makeNPC
The numerical ID of the NPC that this item creates when used. Mainly used for caught critters as ite...
int hammer
The Hammer power of this item. For example, Item.hammer = 70; will appear as 70% Hammer Power in the ...
bool DD2Summon
If true, the given item is categorized as a Dungeon Defenders 2 summon item. DD2 summon items get a ...
int damage
The base damage inflicted by this item. The List of weapons wiki pagecan be a useful guide for decidi...
bool hasVanityEffects
If true, this item has vanity effects even though it doesn't use equipment slots. Unused in vanilla...
int createWall
The ID of the wall this item places on use. Either a T:Terraria.ID.WallID entry or M:Terraria....
int createTile
The ID of the tile this item places on use. Either a T:Terraria.ID.TileID entry or M:Terraria....
bool consumable
Whether the item is consumed after use. If consumed, the item stack will decrease by 1....
int healLife
The amount of health this item restores on use. Use M:Terraria.ModLoader.ModItem....
int buffTime
The duration in ticks of the buff given by this item on use. There are 60 ticks per second,...
int buffType
The Buff ID of the buff given by this item on use. To have a potion give multiple buffs,...
int useStyle
Assign to an T:Terraria.ID.ItemUseStyleID value to give this item a specific animation while in use....
int shopSpecialCurrency
The numerical ID of the special currency this item is bought using. To make an item bought using Def...
bool noUseGraphic
If true, the item's sprite will not be visible while the item is in use. Defaults to false.
bool instanced
If true, then the given item is instanced per-client. Instanced items only appear on the client they...
bool noWet
If true, the item won't be drawn while the holding player is wet. The player will also not be in the ...
bool favorited
If true, then the given item is favorited. Favorited items cannot be dropped, automatically moved in...
float shootSpeed
The velocity in pixels the projectile fired by this item will have. Actual velocity depends on the pr...
bool vanity
If true, this item is a vanity item. Vanity items can't receive prefixes and have a special vanity ...
int mana
The amount of mana this item consumes on use. Use M:Terraria.ModLoader.ModItem.ModifyManaCost(Terra...
int tileBoost
Additional tile range provided by this tool or tile. Copper Pickaxe has a value of -1,...
bool accessory
Whether the item is an accessory. Defaults to false.
bool chlorophyteExtractinatorConsumable
int IEntityWithGlobals< GlobalItem >. Type
int? useLimitPerAnimation
Dictates the amount of times a weapon can be used (shot, etc) each time it animates (is swung,...
List< Mod > StatsModifiedBy
short glowMask
The index in F:Terraria.GameContent.TextureAssets.GlowMask of this item's glow mask,...
bool uniqueStack
Players cannot pick up a uniqueStack item if they have an item with the same F:Terraria....
int tooltipContext
The context in which this item's tooltip is being drawn. See T:Terraria.UI.ItemSlot....
int placeStyle
The style of the tile being placed. Used for tiles that have a different look depending on the item u...
int holdStyle
Assign to an T:Terraria.ID.ItemHoldStyleID value to give this item a specific animation while the pla...
int useTime
The time span of using the item in ticks. This is independent of the time it takes for the item anima...
int? shopCustomPrice
If not null, the custom value of the given item when being bought from a shop. Used for assigning a ...
bool autoReuse
Whether the item is in continuous use while the mouse button is held down. Defaults to false.
int defense
The amount of defense this item provides when equipped, either as an accessory or armor....
int prefix
The current prefix applied to this item. Either a T:Terraria.ID.PrefixID entry or M:Terraria....
bool expertOnly
If true, then the given item's effects only function in Expert Mode or higher (P:Terraria....
bool flame
If true, will cause the corresponding flame texture to be drawn while this item is held....
bool channel
Used for items that have special behavior when the attack button is held. Defaults to false.
int axe
The Axe power of this item. The Axe power percentage shown to the user is five times this value,...
int mountType
Specifies which mount to equip when the item is used. Assign to ModContent.MountType<ModdedMountHere>...
DamageClass DamageType
The damage type of this Item. Assign to DamageClass.Melee/Ranged/Magic/Summon/Throwing for vanilla cl...
int alpha
Set to a value from 0 to 255 to control how transparent the item will appear when drawn....
int bait
The numerical value this item adds to a player's fishing skill when used as bait. If greater than 0,...
int lifeRegen
The value to add to F:Terraria.Player.lifeRegen of the equipping player. Defaults to 0.
Color color
Draws the item sprite with a colored tint. Gel and Sharkfin use this to spawn different colored items...
bool potion
If true, this item will inflict potion sickness on use. Also determines whether the item cannot be us...
bool master
If true, then the given item is automatically given the Master rarity, causing its name to be drawn i...
bool notAmmo
If true and the item is ammo (sets F:Terraria.Item.ammo to something), the item will not count as amm...
bool consumeAmmoOnLastShotOnly
Dictates whether or not this item should only consume ammo on its last shot of each use....
int type
The Item ID of this item. The Item ID is a unique number assigned to each Item loaded into the game....
bool masterOnly
If true, then the given item's effects only function in Master Mode or higher (P:Terraria....
bool useTurnOnAnimationStart
Similar to useTurn, but only allows turning when an animation starts (eg between swings)....
static DamageClass Default
Default damage class for non-classed weapons and items, does not benefit from Generic bonuses.
T:Terraria.ModLoader.DamageClass is used to determine the application of item effects,...
This class serves as a place for you to place all your properties and hooks for each item....