Gemcorns

From Terraria Wiki
(Redirected from Amber Gemcorn)
Jump to navigation Jump to search
Desktop versionConsole versionMobile version
Desktop/Console/Mobile-Only Content: This information applies only to the Desktop, Console, and Mobile versions of Terraria.
Gemcorns
  • Gemcorns.gif
Auto-use
Stack digit 9.pngStack digit 9.pngStack digit 9.pngStack digit 9.png
Statistics
Type
Placeable✔️
Use time15 (Very fast)
RarityRarity level: 0
Sell3 SC75 CC (Amethyst)
7 SC50 CC (Topaz)
11 SC25 CC (Sapphire)
15 SC (Emerald)
22 SC50 CC (Ruby)
30 SC (Diamond/Amber)
Research5 required
  • Internal Item ID: 4851-4857 (Desktop, Console and Mobile versions)
  • Internal Tile ID: 583-589, 590
Placed Gemcorns.

Gemcorns are seeds crafted from an Acorn and any gem. When placed, they create saplings that can grow into gem trees. Natural gem trees occasionally generate within the Underground and Cavern layers. Destroying a gem tree generally yields 7–48 Stone Blocks, 0–11 Gemcorns of the tree's type, and 0–24 gems of the tree's type (each tile of the tree has a 1/10 (10%) chance of dropping a gem, otherwise dropping 1–2 Stone Blocks, and every non-barren leaf/branch tile additionally has a 1/2 (50%) chance to drop another Gemcorn[1]. See Growing conditions section for detailed info).

Gemcorns cannot be retrieved after being placed. Destroying the sapling will not yield any items.

Crafting

Recipes

ResultIngredientsCrafting station
Amber GemcornAmber Gemcorn(Desktop, Console and Mobile versions)Internal Item ID: 4857By Hand
Amethyst GemcornAmethyst Gemcorn(Desktop, Console and Mobile versions)Internal Item ID: 4852
Diamond GemcornDiamond Gemcorn(Desktop, Console and Mobile versions)Internal Item ID: 4856
Emerald GemcornEmerald Gemcorn(Desktop, Console and Mobile versions)Internal Item ID: 4854
Ruby GemcornRuby Gemcorn(Desktop, Console and Mobile versions)Internal Item ID: 4855
Sapphire GemcornSapphire Gemcorn(Desktop, Console and Mobile versions)Internal Item ID: 4853
Topaz GemcornTopaz Gemcorn(Desktop, Console and Mobile versions)Internal Item ID: 4851

Growing conditions

Similar to regular saplings, gem tree saplings also requires certain conditions to be fulfilled for them to grow:[2]

  • The sapling must be placed below surface layer.
  • The sapling can only be planted on any Stone Block, including biome and mossy variant. At least one tile adjacent to the block the sapling is planted on also has to be one of these blocks.
    • The lower tile of the two tiles occupied by the sapling must not have background walls, or have one of the following walls.
    • The lower tile of the two tiles occupied by the sapling, as well as the two tiles on both sides of it, must not contain any liquid.
    • The sapling also requires vertical clearance to grow. No tiles except saplings can exist within a 5-tile-wide rectangular area with its bottom edge centered on the sapling.
      • The height of the rectangular area is 11 tiles to 16 tiles. Within this range, lower vertical clearance will result in slower tree growth and shorter tree.
        • Since grown gem trees can produce branches, leaving three tiles of space between saplings allows both saplings to grow up.

    Saplings under correct growing conditions will immediately grow into a gem tree when Fertilizer is used on them.

    Light have no effect on the growth of saplings.

    Grown tree

    Gem trees growth takes about 32 in-game hours on average.[3]

    Gem trees can be 7–12 tiles high (not counting space taken up by the non-tile "leaves" at the top) consisting of 6–11 "trunk" tiles topped by one "leaf" tile, with 0–20 (depending on tree height) "branch" tiles off of the trunk (one tile per branch), totaling between 6–11 "trunk" tiles, 1 "leaf" tile, and 0–20 "branch" tiles.

    The trunk length is uniformly distributed, while branch tiles are generated from the top down with a 30% chance of generating at each height (10% each for left branch, right branch, or double branch). Branch tiles cannot generate off of the leaf tile or bottom tile of the tree, and if a branch generated on the above tile and attempts to generate on the current tile while sharing a side, the game will reroll the branch generation one time. Branches have a 2/3 (66.67%) chance to have leaves and a 1/3 (33.33%) chance to be barren, while the leaf tile has a 1/13 (7.69%) chance to be barren.

    "Trunk", "leaf", and "branch" tiles drop either 1 gem (10% chance) or 1–2 Stone Blocks (remaining 90% chance). "Leaf" and "branch" tiles also drop 1 Gemcorn 50% of the time if the leaf/branch tile is not barren (barren branches/leaves are fully colored stony gray, containing no visible "gem leaves").

    As a rough approximation, a gem tree will drop 1.46 gems, 19.7 Stone, and 2.15 Gemcorns. This is the average output over several gem trees, and individual gem trees have very high variance in their returns. Individual gem trees may not give any gems or Gemcorns back at all.

    Tips

    Functioning gem tree farm. The floor is completely Stone, with non-painted blocks spaced by three black painted ones to mark optimal spacing and places without walls. Almost all background is covered with walls, except for the 2 tiles where the gem tree sapling occupies once placed.
    Note that the absence of light sources is only for stylistic preference, as light does not affect the growth of Gemcorns at all.
    • Using different-colored gem torches or Gemspark Blocks beneath each sapling can be a good way to indicate which type of tree is planted where. Paint can also be used, however Gemcorn planted on a painted block will sprout into a painted gem tree (just as it would with other types of trees), which could instead make it difficult to see the type of gem due to the coloring.
      • Using the Illuminant Coating on the actual blocks where gem trees are planted could help to tell the gems apart, since it causes the trees and the colored gems on it be fully visible, regardless of lighting (or lack thereof).
    • Since gem trees are usually planted in underground and cavern layers, use background walls to prevent enemies from spawning can be useful.
      • Using fences behind saplings allows completely covering the farm in safe walls, preventing enemy spawns entirely.
    • Gemcorns can be sold for the value of their respective gem.
      • As such, decrafting Gemcorns via Shimmer allows selling the gems separately and keeping the Acorns for future use.
    • While Gemcorns can be planted on mossy Stone, the outgrowths of moss fuzz can block the sapling's growth. Furthermore, moss cannot be removed from Stone if a gem tree has grown on the Stone Block. Moss can still be removed from beneath a sapling, however.
    • The required empty 3 adjacent Stone Blocks to where the sapling will be planted can be hammered to eliminate waste via accidentally planting Gemcorns too close together as they cannot be planted on hammered blocks. The Smart Cursor function can also be used to avoid this.

    History

    References

    1. Information taken from the Desktop version Desktop 1.4.2.3 source code, method SetGemTreeDrops() in Terraria.WorldGen.cs. There may be inaccuracies, as the current Desktop version Desktop version is 1.4.4.9.
    2. Information taken from the Desktop version Desktop 1.4.4.9 source code, method GrowTreeWithSettings() in Terraria.WorldGen.cs.
    3. Information taken from the Desktop version Desktop 1.4.4.9 source code, method UpdateWorld_UndergroundTile() in Terraria.Worldgen.cs. Underground tile updates happen anywhere between the surface line and true bottom of the world, which accounts for about 70% of the total world size. The update number per tick is 0.0015% of the total world size, and the sapling can grow from either tile being updated, with a 20% chance of attempting to grow each update. The chances of the sapling growing each tick is about [math]\displaystyle{ \frac{0.0015\%\times\text{world size}}{70\%\times\text{world size}}\times20\%\times2=8.571\times10^{-6} }[/math]. This means the average time for a gem tree to grow would be [math]\displaystyle{ \frac{1}{8.571×10^{-6}} = 116667 }[/math] ticks, or [math]\displaystyle{ 116667\div3600 = 32.4 }[/math] in-game hours (real world minutes).