Butterfly
- Internal NPC ID: 356, 444 (Gold)
Butterflies are small critters that can be found in Forests during daytime. They can be caught with a Bug Net (except for the Hell Butterfly(Desktop, Console and Mobile versions)) and carried in the inventory or crafted into Butterfly Jars. They can also be used as bait for fishing. The Underworld variant, Hell Butterfly, can be found in the Underworld during daytime.
Hell Butterfly(Desktop, Console and Mobile versions) can only be caught with the Lavaproof Bug Net(Desktop, Console and Mobile versions) or the Golden Bug Net(Desktop, Console and Mobile versions). Attempting to catch it with a standard Bug Net will not work, and the player will take 1 damage and be inflicted with On Fire! for 5 seconds / 10 seconds / 13 seconds.[1]
Types
Butterfly
|
Rarity
|
Sell
|
Bait Power
|
NPC ID
|
Notes
|
 |
Gold Butterfly(Desktop, Console and Mobile versions)Internal Item ID: 2891
|
03*
|
10 GC
|
50%
|
444
|
|
 |
Julia ButterflyInternal Item ID: 2001
|
01*
|
30 SC
|
25%
|
356
|
|
 |
Monarch ButterflyInternal Item ID: 1994
|
00*
|
5 SC
|
5%
|
356
|
|
 |
Purple Emperor ButterflyInternal Item ID: 1995
|
02*
|
75 SC
|
35%
|
356
|
|
 |
Red Admiral ButterflyInternal Item ID: 1996
|
02*
|
40 SC
|
30%
|
356
|
|
 |
Sulphur ButterflyInternal Item ID: 1998
|
00*
|
10 SC
|
10%
|
356
|
|
 |
Tree Nymph ButterflyInternal Item ID: 1999
|
03*
|
1 GC
|
50%
|
356
|
|
 |
Ulysses ButterflyInternal Item ID: 1997
|
01*
|
20 SC
|
20%
|
356
|
|
 |
Zebra Swallowtail ButterflyInternal Item ID: 2000
|
01*
|
15 SC
|
15%
|
356
|
|
 |
Hell Butterfly(Desktop, Console and Mobile versions)Internal Item ID: 4845
|
01*
|
20 SC
|
15%
|
653
|
|
Crafting
Used in
Notes
- At every dusk (7:30 PM), or each time the world is loaded, the spawn rate of Butterflies and Stinkbugs(Desktop, Console and Mobile versions) are set to a random value. Below is the detailed info:[2]
- For Butterflies and Stinkbugs, there are two parameters:
butterflyChance
and stinkBugChance
, the spawn rate of Butterflies and Stinkbugs, respectively.
- These parameters are set in the following way:
- First, 1/3 (33.33%) chance:
butterflyChance
= 999999 (effectively preventing them to spawn), and stinkBugChance
= 1–13, then there is a 1/5 (20%) chance for the stinkBugChance
to be set to 999999.
- If the 1/3 (33.33%) chance failed, then:
stinkBugChance
= 999999, and butterflyChance
= 1–20, then there is a 1/5 (20%) chance for the butterflyChance
to be set to 999999.
- This effectively makes it so a day can only have Butterflies or Stinkbugs, not both of them.
- Then, if the world is a Celebrationmk10 world,
butterflyChance
is divided by 2. If the value is lower than 1 after dividing, then set it to 1.
- First,
butterflyChance
= 1–24.
- Then, there is a 1/3 (33.33%) chance for the
butterflyChance
to be set to 999999.
- After these parameters are set, they will be used in spawning. Note that the following chances are only related to the respective critter and for reference only, they do not account for other spawns:[4]
- Butterflies can only spawn during daytime when not raining, the player is on surface, is not in a Graveyard(Desktop, Console and Mobile versions), and the wind speed is lower than 20 mph.
- There is a
1/butterflyChance
chance for a Butterfly to spawn, then there are two individual 1/4 (25%) chances for an extra Butterfly to spawn.
- As a result, they can appear in groups of 1–3.
- For Hell Butterflies(Desktop, Console and Mobile versions), they do not use the former spawning mechanic. They can always spawn in the Underworld during daytime, one at a time.
Tips
- New players should be on the lookout for days when lots of butterflies spawn, since they can fetch high prices. One day can easily net over 10 GC.
Trivia
- Butterflies: "Beautiful fluttering insects that love sunrises. Fish are attracted to these based on their color variety."
- Hell Butterfly: "A solemn butterfly seeking blooms rooted in hell. Its wings glimmer with fiery veins."
See also
History
- Desktop 1.4.4: Increased the chances of having a Butterfly day (
butterflyChance
changed from 1–24 to 1–20).
- Desktop 1.4.0.1:
- Hell Butterfly added.
- Butterflies can now actively try to avoid enemies close to them.
- Increased the chances of having a Butterfly day (chance of
butterflyChance
set to 999999 decreased from 1/3 (33.33%) to 1/4 (25%)).
References
- ↑ Information taken from the
Desktop 1.4.4.6 source code, method ItemCheck_CatchCritters()
in Terraria.Player.cs
. There may be inaccuracies, as the current
Desktop version is 1.4.4.9.
- ↑ Information taken from the
Desktop 1.4.4.6 source code, methods setFireFlyChance()
in Terraria.NPC.cs
, UpdateTime_StartNight()
in Terraria.Main.cs
, and LoadWorld()
in Terraria.IO.WorldFile.cs
. There may be inaccuracies, as the current
Desktop version is 1.4.4.9.
- ↑ Information taken from the
Desktop 1.3.5.3 source code, method setFireFlyChance()
in Terraria.NPC.cs
.
- ↑ Information taken from the
Desktop 1.4.4.6 source code, method SpawnNPC()
in Terraria.NPC.cs
. There may be inaccuracies, as the current
Desktop version is 1.4.4.9.
- Basilisk(Desktop, Console and Mobile versions)
- Desert Spirit(Desktop, Console and Mobile versions)
- Dune Splicer(Desktop, Console and Mobile versions)
- Ghoul(Desktop, Console and Mobile versions)
(
- Dreamer(Desktop, Console and Mobile versions)
- Vile(Desktop, Console and Mobile versions)
- Tainted(Desktop, Console and Mobile versions)
)
- Lamia(Desktop, Console and Mobile versions)
- Mummy
- Sand Poacher(Desktop, Console and Mobile versions)
Windy Day(Desktop, Console and Mobile versions) - Clown
- Corrupt Bunny
(
- Vicious(Desktop, Console and Mobile versions)
)
- Corrupt Goldfish
(
- Vicious(Desktop, Console and Mobile versions)
)
- Corrupt Penguin
(
- Vicious(Desktop, Console and Mobile versions)
)
- Blood Zombie(Desktop, Console and Mobile versions)
- Drippler(Desktop, Console and Mobile versions)
- The Bride(Desktop, Console and Mobile versions)
- The Groom
- Wandering Eye Fish(Desktop, Console and Mobile versions)
- Zombie Merman(Desktop, Console and Mobile versions)
- Blood Eel(Desktop, Console and Mobile versions)
- Hemogoblin Shark(Desktop, Console and Mobile versions)
- Dreadnautilus(Desktop, Console and Mobile versions)
Sandstorm(Desktop, Console and Mobile versions) - Butcher(Desktop, Console and Mobile versions)
- Creature from the Deep(Desktop, Console and Mobile versions)
- Deadly Sphere(Desktop, Console and Mobile versions)
- Dr. Man Fly(Desktop, Console and Mobile versions)
- Fritz(Desktop, Console and Mobile versions)
- Eyezor
- Frankenstein
- Nailhead(Desktop, Console and Mobile versions)
- Psycho(Desktop, Console and Mobile versions)
- Reaper
- Swamp Thing
- The Possessed(Desktop, Console and Mobile versions)
- Vampire
- Mothron(Desktop, Console and Mobile versions)
(
- Baby(Desktop, Console and Mobile versions)
- Egg(Desktop, Console and Mobile versions)
)
Terrestrial
- Buggy(Desktop, Console and Mobile versions)
- Bunny
(
- Gem(Desktop, Console and Mobile versions)
- Gold(Desktop, Console and Mobile versions)
)
- Frog
(
- Gold(Desktop, Console and Mobile versions)
- Mystic(Desktop, Console and Mobile versions)
)
- Grasshopper
(
- Gold(Desktop, Console and Mobile versions)
)
- Grubby(Desktop, Console and Mobile versions)
- Maggot(Desktop, Console and Mobile versions)
- Mouse
(
- Gold(Desktop, Console and Mobile versions)
)
- Penguin
- Rat(Desktop, Console and Mobile versions)
- Scorpion
- Sea Turtle(Desktop, Console and Mobile versions)
- Sluggy(Desktop, Console and Mobile versions)
- Snail
- Squirrel
(
- Red(Desktop, Console and Mobile versions)
- Gem(Desktop, Console and Mobile versions)
- Gold(Desktop, Console and Mobile versions)
)
- Stinkbug(Desktop, Console and Mobile versions)
- Turtle(Desktop, Console and Mobile versions)
(
- Jungle(Desktop, Console and Mobile versions)
)
- Water Strider(Desktop, Console and Mobile versions)
(
- Gold(Desktop, Console and Mobile versions)
)
- Worm
Aquatic
- Dolphin(Desktop, Console and Mobile versions)
- Goldfish
(
- Gold(Desktop, Console and Mobile versions)
)
- Pupfish(Desktop, Console and Mobile versions)
- Seahorse(Desktop, Console and Mobile versions)
(
- Gold(Desktop, Console and Mobile versions)
)
- Sea Turtle(Desktop, Console and Mobile versions)
Aerial
- Bird
- Cockatiels(Desktop, Console and Mobile versions)
- Duck
- Dragonflies(Desktop, Console and Mobile versions)
(
- Gold(Desktop, Console and Mobile versions)
)
- Faeling(Desktop, Console and Mobile versions)
- Fairies(Desktop, Console and Mobile versions)
- Firefly
- Grebe(Desktop, Console and Mobile versions)
- Ladybug(Desktop, Console and Mobile versions)
(
- Gold(Desktop, Console and Mobile versions)
)
- Macaws(Desktop, Console and Mobile versions)
- Owl(Desktop, Console and Mobile versions)
- Seagull(Desktop, Console and Mobile versions)
- Toucan(Desktop, Console and Mobile versions)
Town pets(Desktop, Console and Mobile versions) - Alien Skater(Desktop, Console and Mobile versions)
- Baby Dinosaur
- Baby Eater
- Baby Face Monster(Desktop, Console and Mobile versions)
- Baby Grinch
- Baby Hornet
- Baby Imp(Desktop, Console and Mobile versions)
- Baby Ogre(Desktop, Console and Mobile versions)
- Baby Penguin
- Baby Red Panda(Desktop, Console and Mobile versions)
- Baby Skeletron Head
- Baby Snowman
- Baby Truffle
- Baby Werewolf(Desktop, Console and Mobile versions)
- Black Cat
- Bunny(Desktop and Mobile versions)
- Cursed Sapling
- Destroyer-Lite(Desktop, Console and Mobile versions)
- Dynamite Kitten(Desktop, Console and Mobile versions)
- Eater of Worms(Desktop, Console and Mobile versions)
- Estee(Desktop, Console and Mobile versions)
- Everscream Sapling(Desktop, Console and Mobile versions)
- Eyeball Spring
- Fennec Fox(Desktop, Console and Mobile versions)
- Flying Piggy Bank(Desktop, Console and Mobile versions)
- Glittery Butterfly(Desktop, Console and Mobile versions)
- Hoardragon(Desktop, Console and Mobile versions)
- Honey Bee(Desktop, Console and Mobile versions)
- Ice Queen(Desktop, Console and Mobile versions)
- Itsy Betsy(Desktop, Console and Mobile versions)
- Lil' Harpy(Desktop, Console and Mobile versions)
- Lizard
- Mini Minotaur
- Mini Prime(Desktop, Console and Mobile versions)
- Moonling(Desktop, Console and Mobile versions)
- Parrot
- Phantasmal Dragon(Desktop, Console and Mobile versions)
- Plantera Seedling(Desktop, Console and Mobile versions)
- Plantero(Desktop, Console and Mobile versions)
- Puppy(Desktop, Console, Old-gen console and Mobile versions)
- Propeller Gato(Desktop, Console and Mobile versions)
- Rez and Spaz(Desktop, Console and Mobile versions)
- Sapling
- Shadow Mimic(Desktop, Console and Mobile versions)
- Shark Pup(Desktop, Console and Mobile versions)
- Skeletron Jr.(Desktop, Console and Mobile versions)
- Slime Prince(Desktop, Console and Mobile versions)
- Slime Princess(Desktop, Console and Mobile versions)
- Spider
- Spider Brain(Desktop, Console and Mobile versions)
- Squashling
- Sugar Glider(Desktop, Console and Mobile versions)
- Suspicious Eye(Desktop, Console and Mobile versions)
- Tiki Spirit
- Turtle
- Tiny Fishron(Desktop, Console and Mobile versions)
- Void Portal(Desktop, Console and Mobile versions)
- Volt Bunny(Desktop, Console and Mobile versions)
- Zephyr Fish
- Bat(Old-gen console and 3DS versions)
- Guinea Pig(Old-gen console and 3DS versions)
- Slime(Old-gen console and 3DS versions)
- Tiphia(Old-gen console and 3DS versions)
- Werewolf(Old-gen console and 3DS versions)
- Zombie(Old-gen console and 3DS versions)
- Android
- Cupid(3DS version)
- Elfa(3DS version)
- Leprechaun o'Fyffe
- Abigail(Desktop, Console and Mobile versions)
- Baby Finch(Desktop, Console and Mobile versions)
- Baby Slime
- Deadly Sphere(Desktop, Console and Mobile versions)
- Desert Tiger(Desktop, Console and Mobile versions)
- Enchanted Dagger(Desktop, Console and Mobile versions)
- Hornet(Desktop, Console, Old-gen console and Mobile versions)
- Imp(Desktop, Console, Old-gen console and Mobile versions)
- Pirate(Desktop, Console, Old-gen console and Mobile versions)
- Pygmy
- Raven
- Sanguine Bat(Desktop, Console and Mobile versions)
- Sharknado
- Spider(Desktop, Console, Old-gen console and Mobile versions)
- Stardust Cell(Desktop, Console and Mobile versions)
- Stardust Dragon(Desktop, Console and Mobile versions)
- Terraprisma(Desktop, Console and Mobile versions)
- Twins(Desktop, Console, Old-gen console and Mobile versions)
- UFO(Desktop, Console and Mobile versions)
- Vampire Frog(Desktop, Console and Mobile versions)
- Ballista(Desktop, Console and Mobile versions)
- Explosive Trap(Desktop, Console and Mobile versions)
- Flameburst Tower(Desktop, Console and Mobile versions)
- Forbidden Sign(Desktop, Console and Mobile versions)
- Frost Hydra
- Lightning Aura(Desktop, Console and Mobile versions)
- Lunar Portal(Desktop, Console and Mobile versions)
- Queen Spider(Desktop, Console, Old-gen console and Mobile versions)
- Rainbow Crystal(Desktop, Console and Mobile versions)
- Stardust Guardian(Desktop, Console and Mobile versions)
- Basilisk(Desktop, Console and Mobile versions)
- Bee(Desktop, Console, Old-gen console and Mobile versions)
- Book(Desktop, Console and Mobile versions)
- Bunny(Desktop, Console, Old-gen console and Mobile versions)
- Cute Fishron(Desktop, Console and Mobile versions)
- Dark Horse(Desktop, Console and Mobile versions)
- Drill(Desktop, Console and Mobile versions)
- Flamingo(Desktop, Console and Mobile versions)
- Goat(Desktop, Console and Mobile versions)
- Golf Cart(Desktop, Console and Mobile versions)
- Lava Shark(Desktop, Console and Mobile versions)
- Majestic Horse(Desktop, Console and Mobile versions)
- Painted Horse(Desktop, Console and Mobile versions)
- Pigron(Desktop, Console, Old-gen console and Mobile versions)
- Pirate Ship(Desktop, Console and Mobile versions)
- Pogo Stick(Desktop, Console and Mobile versions)
- Rudolph
- Santank(Desktop, Console and Mobile versions)
- Scutlix(Desktop, Console and Mobile versions)
- Slime(Desktop, Console, Old-gen console and Mobile versions)
- Turtle(Desktop, Console, Old-gen console and Mobile versions)
- Tree(Desktop, Console and Mobile versions)
- UFO(Desktop, Console and Mobile versions)
- Unicorn(Desktop, Console and Mobile versions)
- Winged Slime(Desktop, Console and Mobile versions)
- Witch's Broom(Desktop, Console and Mobile versions)