Ocean

From Terraria Wiki
Jump to navigation Jump to search
Desktop versionConsole versionMobile version
This is the main page whose information applies to the Desktop, Console, and Mobile versions of Terraria.
For the differences of this information on Old-gen console and 3DS, see Legacy:Ocean.
BiomeBannerOcean.png

The Ocean is a biome found at both left and right edges of a world, comprising both the easternmost and westernmost 338 tiles (676 feet) of the world[1][2]. It consists of a sandy beach and a large body of water that extends toward the end of the world, with Shell Piles being occasionally generated in clumps. Palm trees grow on the surface, and can be cut down for Palm Wood. Seashells and Starfish are found commonly on the surface and underwater, and can grow over time. Corals also grow on the seabed.

Enemies in the Ocean include Crabs, Pink Jellyfish, and Sharks. Squids and Sea Snails rarely appear underwater, and respectively drop Black Ink and Purple Mucus. Critters in the Ocean include Dolphins, Seagulls, Seahorses, and Sea Turtles.

Oceans will commonly contain Water Chests with loot pertaining to water.

Contents

NPC happiness

OceanOcean
Loved byn/a
Disliked by
Hated byn/a

For more information, see NPC happiness.

Notes

  • Like other enemies with Swimming and Jellyfish AIs, Ocean enemies will only detect and swim toward the player if they are in the water to a depth of at least one tile.
  • If the beach of an Ocean extends long enough towards inland, surface Desert enemies may spawn, but Desert plants will not grow in areas near water.
  • During Hardmode, Corruption/Crimson or Hallow can convert Sand Blocks into Ebonsand/Crimsand/Pearlsand, which can allow Corrupted/Crimson/Hallowed Desert enemies to spawn.
    • They can also spread to Sand Blocks out of the world's border.
  • For fishing in the Ocean, the game checks for the bobber's location instead of the player's location. The bobber has to be located in the Ocean biome and above surface to yield Ocean fishing catches.[3]
    • Furthermore, the Ocean has to be pure, otherwise Corruption, Crimson, or Hallow fishing catches will override Ocean catches.
  • Sometimes, the sea bed can generate below the Surface layer, causing a bit of the Underground's background to appear and seaweeds to grow on Sand.
  • The Ocean biome cannot be artificially created, nor can it be expanded.

Generation variants

Ocean cave

Map view of an Ocean cave on the left side of the world.

The Ocean on the same side of the world as the Dungeon has a 1/3 (33.33%) chance of generating with a cave[4], which consists of a water-filled tunnel with a ceiling made of hardened sand beginning at the Ocean floor. This tunnel has an additional chance of generating Water Chests, which have equal chances of containing each primary item. It is decorated with long strands of Seaweeds growing from the sand floor.

Ocean cave will always be generated in drunk world, Celebration Mk 10, and Zenith worlds.

Florida style

Map view of a Florida-style Ocean on the right side of a world.
Map view of a Florida-style Ocean with an Ocean cave generated on the left side of the world.

The world has a 1/4 (25%) chance to generate one of the Oceans as Florida style.[5] This variant inverts the slope of the beach, with long beaches becoming steeper near the world edge.

Tips

For tips on navigating the Ocean, see Guide:Surviving in the Ocean.
  • Players exploring the Ocean run the risk of drowning if not equipped with the proper accessories. In addition to plenty of healing potions, items and potions that aid breathing, such as the Breathing Reed and Gills Potion, a Magic Mirror for returning home quickly, and Flippers to aid swimming should be brought along. Hooks may also be of some help in returning to the surface for breath. The Neptune's Shell or any of its upgrades removes the need to breathe altogether.
  • Players may drain the Ocean by tunneling down to the Underworld, where water evaporates.
  • Another way of draining the Ocean is by making an air pocket, emptying a Lava Bucket in it and placing a background object (e.g. furniture) in the lava. Allowing water to flow in will cause it to disappear, as the object prevents Obsidian from being generated.
  • When attempting to preserve the Ocean biome from being infected in Hardmode, simply digging a horizontal gap under the seabed is insufficient because world data extends a little past the edge of the world. The gap must be created vertically along the beach of the Ocean to prevent the spread of Corruption/Crimson or Hallow.
  • The Oceans have a lot of space, making them good places for large-scale builds like arenas and farms.
  • While it is impossible to expand the Ocean biome further inland, the player may extend the watery area to the inner edge of the naturally spawning beach.

Trivia

  • The Ocean Night theme used to be exclusive to the Console version Console version, Old-gen console version Old-gen console version, and Nintendo 3DSNintendo 3DS version version before the 1.4.0.1(Desktop, Console and Mobile versions) update.
  • It is possible for a Florida style Ocean to generate with a cave.
  • Ocean fish are normally higher priority than Oasis fishing catches, due to the Ocean naturally being a Desert. However, if the Ocean is Hallow, Hallow catches are higher priority than Ocean catches, but fishing in this case will give Oasis fishing catches half the time due to being a Hallowed Desert.

Gallery

Backgrounds

This content is transcluded from Biome backgrounds § Ocean.

(Desktop, Console and Mobile versions) Underground layer

History

  • Desktop 1.4.4:
    • Ocean water is now slightly more transparent and easier to see in.
    • Changes to the Ocean cave:
      • Can now only generate in the Ocean on the same side of the world as the Dungeon.
      • Generation chance increased from 1/4 (25%) to 1/3 (33.33%) in regular worlds.
      • Is now guaranteed to generate in Celebration Mk 10 worlds.
  • Mobile 1.4.0.5.0: Added all features and changes from Desktop 1.4.0.1 to 1.4.0.3.

References

  1. Players cannot come within 41 tiles from the absolute edge of the world. Thus, from a player's perspective, the Oceans end roughly 338 tiles (676 feet) from either lateral end, but technically they actually end 380 tiles (760 feet) from either end. Information taken from the Desktop version Desktop 1.4.0.5 source code, method BordersMovement() in Terraria.Player.cs. There may be inaccuracies, as the current Desktop version Desktop version is 1.4.5.6.
  2. Information taken from the Desktop version Desktop 1.4.0.5 source code, method oceanDepths() in Terraria.WorldGen.cs. There may be inaccuracies, as the current Desktop version Desktop version is 1.4.5.6.
  3. Information taken from the Desktop version Desktop 1.4.4.9 source code, method FishingCheck_RollItemDrop() in Terraria.Projectile.cs. There may be inaccuracies, as the current Desktop version Desktop version is 1.4.5.6.
  4. Information taken from the Desktop version Desktop 1.4.4.9 source code, method GenerateWorld() in Terraria.WorldGen.cs. The related world generation pass is "Create Ocean Caves". There may be inaccuracies, as the current Desktop version Desktop version is 1.4.5.6.
  5. Information taken from the Desktop version Desktop 1.4.4.9 source code, method GenerateWorld() in Terraria.WorldGen.cs. The related world generation pass is "Beaches". There may be inaccuracies, as the current Desktop version Desktop version is 1.4.5.6.