Difference between revisions of "Lava"

From Minecraft Wiki
Jump to: navigation, search
(→‎Obtaining: Dripstones are obtainable)
(→‎History: Added spectator see through thing.)
Line 657: Line 657:
 
{{History|upcoming java}}
 
{{History|upcoming java}}
 
{{History||1.17|snap=20w45a|[[Cauldron]]s can now be filled with lava.}}
 
{{History||1.17|snap=20w45a|[[Cauldron]]s can now be filled with lava.}}
  +
{{History|||snap=21w11a|[[Spectator]] mode players can now see through lava.}}
   
 
{{History|pocket alpha}}
 
{{History|pocket alpha}}

Revision as of 21:56, 15 May 2021

This article is about the block. For the bucket, see Lava Bucket.
Lava
Lava.gif
Lava BE4.gif
Renewable

No‌[until JE 1.17 & BE 1.18.0]

Transparent

Yes

Luminance

Yes (15)

Blast resistance

100

Tool

Creates sources?

No

Flow distance

4 (Overworld, End)
8 (Nether)

Flow speed

30 ticks per block (Overworld, End)
10 ticks per block (Nether)

Lava is a light-emitting fluid block that causes fire damage, mostly found in the lower reaches of the Overworld and the Nether.

Obtaining

Lava blocks do not exist as items in Java Edition, but can be retrieved with a bucket. In Bedrock Edition, it may be obtained as an item via add-ons or inventory editing.

Unlike water source blocks, new lava source blocks cannot be created in a space by two or more adjacent source blocks, as is possible with water. ‌In Java Edition 1.17[upcoming], lava may be obtained from cauldrons, as pointed dripstone with lava above it can fill a cauldron with lava.

Natural generation

During world generation, lava replaces air blocks generated in caves and ravines between levels 1 and 10. Lava does not replace air blocks inside mineshafts, dungeons or strongholds between y-levels 1 and 10.

Lava can also occur as lava rivers from a single spring block, pouring down walls into pools. The spring block can be on the side of a cave, ravine, mineshaft, or stone cliff above ground.

Lava also spawns as lakes, which can be found at any elevation within any biome.

Two blocks of lava can also be found in plains, snowy tundra, and desert village weaponsmith buildings, or one source in savanna village weaponsmith buildings.

Fifteen blocks of lava can be found in the End portal room of a stronghold: 3 along each side wall, and 9 below the portal frame.

Lava also generates in woodland mansions: two blocks of lava generate in the "blacksmith room", and 25 blocks of lava generate in a secret "lava room".

In the Nether, lava is more common than water in the Overworld. Seas of lava occur, with sea level at y-level 31, about a quarter of the total height of the Nether (as the usable space in the Nether is 128 blocks tall). They extend down to about y-level 22. Lava also randomly appears in single blocks inside netherrack formations. Lava also generates as a single source in well rooms in nether fortresses.

Lava generates as delta shapes, which can be found commonly in the basalt deltas biome. Lava also generates in ruined portals and bastion remnants.

Usage

This section is missing information about how much lava slows players down. 
Please expand the section to include this information. Further details may exist on the talk page.

Fuel

When used in a furnace, a bucket of lava lasts 1000 seconds (100 items).

Burning

What it looks like inside lava.
What it looks like inside lava using Fire Resistance in Java Edition.

Most entities take 4♥♥ damage every half-second while in contact with lava, and are set on fire. When in contact with lava, 300 Fireticks are added instantly to the Firetimer of the entity/player. For every further tick the player is in contact with lava, 2 Fireticks are added to the Firetimer. For example, 10 seconds in lava cause a total amount of 700 Fireticks (35 seconds) where the player burns (300 initially + 400 Fireticks for 200 ticks being in the lava) or rather 500 Fireticks (25 seconds) left to burn when they leave the lava source. If the victim touches water or rain falls on it, the fire is extinguished, but the lava continues to damage them directly.

In addition, a dense fog effect will be applied for players under lava to obscure vision. This can be slightly mitigated via the fire resistance effect.

In Bedrock Edition, a player with the Fire Resistance effect or a total Fire Protection of 7 or higher does not catch fire.

Vexes, zoglins, Nether mobs other than piglins and hoglins, or players or mobs affected by a potion of fire resistance are not damaged when touching lava.

The embers or fireballs that fly out of lava are purely decorative and do not cause fires or damage to entities. When rain falls on lava, the black ember particles appear more frequently.

A player in lava lasts a few seconds before dying:

Java Edition

  • 2.5 seconds with no armor
  • 3.5 seconds with full leather armor, no enchantments
  • 4 seconds with full gold armor, no enchantments
  • 4.5 seconds with full chain armor, no enchantments
  • 5.5 seconds with full iron armor, no enchantments
  • 10.5 seconds with full diamond armor, no enchantments
  • 11 seconds with full netherite armor, no enchantments

Bedrock Edition

  • 2.5 seconds with no armor
  • 3.5 seconds with full leather armor, no enchantments
  • 4.5 seconds with full gold armor, no enchantments
  • 5 seconds with full chain armor, no enchantments
  • 6.5 seconds with full iron armor, no enchantments
  • 12.5 seconds with full diamond armor, no enchantments
  • 12.5 seconds with full netherite armor, no enchantments

Fire spread

The orange area represents areas
where air could catch flame if the
gray and orange areas contain
flammable blocks. The wood
is all at a safe distance.

Lava can cause fires by turning air blocks to fire blocks:

  • in a 3×1×3 area right above the lava, and
  • in a 5×1×5 area above that.

In order for air above lava to turn to fire, a block adjacent to the air has to be flammable, or one of the wood-constructed non-flammable blocks. Since catching fire depends on air blocks, even torches or lava itself can prevent a flammable block from catching fire. Additionally, not all flammable or wood-constructed blocks can be ignited by lava.

The lava of any depth can start fires this way, whether or not it appears to have a current.

Note that that an air block in the 5x1x5 area catches fire regardless of what is directly or diagonally below it. In particular, a single layer of obsidian on the surface of a lava lake does not prevent the blocks on top of it from catching fire from the underneath lava.

Flow

See also: Liquid

Lava flows from "source blocks". Most streams or "lava-falls" come from a single source block, but lava lakes (including the "flood lava" in the bottom 10 layers) are composed entirely of source blocks. A source block can be captured only with a bucket.

In the Overworld and the End, lava travels 3 blocks in any horizontal direction from a source block. Lava flows far more slowly than water (1 block every 30 game ticks, or 1.5 seconds), and sourceless lava flows linger for a short time more. In the Nether, lava travels 7 blocks horizontally and spreads 1 block every 10 game ticks, or 2 blocks per second, which is half the speed as water in the Overworld. In all dimensions, lava spreading uses the same mechanic as water: for every adjacent block it can flow into it tries to find a way down that is reachable in four or fewer blocks from the block it wants to flow to. When found, the flow weight for that direction is set to the shortest path distance to the way down. (This can result in lava flows turning toward dropoffs that they cannot reach in the Overworld and End.)

Flowing lava destroys the following in its path: saplings, cobweb, tall grass, dead bush, wheat, flowers, mushrooms, snow on ground (but snow blocks are immune), lily pads, vines, levers, buttons, all three types of torches, redstone, repeaters, end rods, and rails. Sugar canes hold back lava, but disappear if the sugar cane's water source is destroyed by the lava. Lava also slows down enities, however this also slows down entites that have fire resistance, nether mobs {except for piglins, piglin brutes and hoglins} are also slowed down by lava.

Using redstone wire, a one-block lava flow can be redirected by supplying power to the source block, which causes it to reset the flow toward the now-nearest terrain depression. It cannot, however, be reversed. This re-calculation is made because of the redstone wire when toggled changes the block from redstone (on) to redstone (off). Whenever a block updates on any side of the lava, the lava re-calculates where to flow, but does not cut off its current direction of flow. not only that but lava drips more slowly than water. In Bedrock Edition using the /setblock command can be used to create non flowing lava without barriers, moving pistons, and other solid invisible blocks. also putting random numbers in the command will change data, however the max is 15 or less, otherwise it will do normal non flowing lava, or normal lava that flows. also In Bedrock Edition, using /give, /setblock, or /fill commands can be used to get a lava cauldron, the max is 10, 11, 12. or 13. also getting a lava cauldron will be nothing, however it can be filled if raining, but if not filled and not raining, it will still emit light. but It can be obtained by inventory editing or coding, also lava blocks is obtained with toolbox, apps, coding, hacks, and inventory editing. however throwing a lava block item, lava cauldron, and lava buckets, will still destroy it, despite them having lava.

Flowing lava can push entities.‌[Java Edition only][1]

Flowing lava in overworld
Flowing lava in nether

Flow arrangement tables

Overworld and End
4
4 3 4
4 3 2 3 4
4 3 2 1 2 3 4
4 3 2 3 4
4 3 4
4
Range Height in blocks
1 block 1
2 blocks 0.75-1
3 blocks 0.5-0.75
4 blocks 0.25-0.5
Nether
7
7 6 7
7 6 5 6 7
7 6 5 4 5 6 7
7 6 5 4 3 4 5 6 7
7 6 5 4 3 2 3 4 5 6 7
7 6 5 4 3 2 1 2 3 4 5 6 7
7 6 5 4 3 2 3 4 5 6 7
7 6 5 4 3 4 5 6 7
7 6 5 4 5 6 7
7 6 5 6 7
7 6 7
7
Range Height in blocks
1 block 1
2 blocks 0.75-1
3 blocks 0.625-0.75
4 blocks 0.5-0.625
5 blocks 0.375-0.5
6 blocks 0.25-0.375
7 blocks 0.125-0.25

Lava and water

Main article: Liquid § Mixing

Water and lava can produce stone, cobblestone, or obsidian based on how they interact. Lava can also generate basalt when above soul soil and touching blue ice.

Light source

Lava blocks emit a light level of 15.

Other

If there is lava flowing above a block, the lava seeps through.

Lava above a non-transparent block (does not include stairs, fences, and slabs) produces dripping particles on the underside of that block. These droplets do not do anything other than warn the player that a deluge of lava lies above that block. The particles function identically to their water counterparts, except that they drip slower.

If lava is above a non-transparent block supporting Pointed Dripstone, dripping particles are created on the end. These can fill cauldrons with lava.

Flowing lava can set off tripwires because it breaks placed string. Lava triggers a tripwire only once.

Any item dropped onto a lava source block is immediately destroyed, except for items made of netherite, as well as Ancient Debris.

Lava can be placed in an empty cauldron.‌[Bedrock Edition only][upcoming: JE Edition 1.17]

Farming

Lava farms can be created by placing a lava block on top of a dripstone block and a pointed dripstone and a cauldron underneath. ‌[Bedrock Edition only][upcoming: JE Edition 1.17]

Sounds

SoundSubtitlesSourceDescriptionNamespaced IDTranslation keyVolumePitchAttenuation
distance
Lava popsBlocksRandomblock.lava.ambientsubtitles.block.lava.ambient??16
Lava hissesBlocksLava colliding with waterblock.lava.extinguishsubtitles.block.lava.extinguish??16
Lava popsBlocksLava bubble particle spawnsblock.lava.popsubtitles.block.lava.ambient??16
Bucket emptiesBlocksPlacing lava with a bucketitem.bucket.empty_lavasubtitles.item.bucket.empty??16
Bucket fillsPlayersGrabbing lava with a bucketitem.bucket.fill_lavasubtitles.item.bucket.fill??16

Data values

ID

Java Edition:

LavaNamespaced IDBlock tags (JE)FormTranslation key
Blocklavastrider_warm_blocksBlockblock.minecraft.lava
LavaNamespaced IDFluid tags (JE)
Fluidlavalava
Flowing Fluidflowing_lavalava

Bedrock Edition:

LavaNamespaced IDNumeric ID FormTranslation key
Updatingflowing_lava10Blocktile.flowing_lava.name
Stationarylava11Blocktile.lava.name

Lava spends most of its time as stationary, rather than 'flowing' – regardless of its level, or whether it contains a current downward or to the side. When specifically triggered by a block update, lava changes to 'flowing', update its level, then change back to stationary. Lava springs are generated as flowing, and lava lakes are generated as stationary.

Metadata

See also: Data values

If bit 0x8 is set, this liquid is "falling" and spreads only downward. At this level, the lower bits are essentially ignored, since this block is then at its highest fluid level.

The lower three bits are the fluid block's level. 0x0 is the highest fluid level (not necessarily filling the block - this depends on the neighboring fluid blocks above each upper corner of the block). Data values increase as the fluid level of the block drops: 0x1 is the next highest, 0x2 lower, on through 0x7, the lowest fluid level. Along a line on a flat plane, lava drops one level per meter in the nether and two everywhere else.

Block states

See also: Block states

Java Edition:

Name Default value Allowed values Description
level0 0Lava source block.
1
2
3
4
5
6
7
The distance from a lava source or a falling lava.
In the End and Overworld, only 2, 4 and 6 are used.
8
9
10
11
12
13
14
15
Falling lava.
This level is equal to the falling lava above, and if it's non-falling, equal to 8 plus the level of the non-falling lava above it.

Bedrock Edition:
Lava and flowing lava

Name Default value Allowed values Description
liquid_depth0 0Lava source block.
1
2
3
4
5
6
7
The distance from a lava source or a falling lava.
In the End and Overworld, only 2, 4 and 6 are used.
8
9
10
11
12
13
14
15
Falling lava.
This level is equal to the falling lava above, and if it's non-falling, equal to 8 plus the level of the non-falling lava above it.

Fluid states

See also: Block states

Java Edition:
Lava

Name Default value Allowed values Description
fallingfalsetrue
false
Always false.

Flowing lava

Name Default value Allowed values Description
fallingfalsefalse
true
True for falling lava, false for lava with a block below.
level11
2
3
4
5
6
7
8
Height of the lava, 8 when the lava is falling.

Achievements

Icon Achievement In-game description Actual requirements (if different) Gamerscore earned Trophy type (PS)
Stayin' Frosty.pngStayin' FrostySwim in lava while having the Fire Resistance effect.20GBronze

History

This section is missing information about A section on how pre-1.5 lava's texture was generated: https://github.com/UnknownShadow200/ClassiCube/wiki/MInecraft-Classic-lava-animation-algorithm. 
Please expand the section to include this information. Further details may exist on the talk page.
Java Edition Classic
May 19, 2009Lava is shown.
0.0.12aLava JE1.png Added lava.
Texture is transparent.
Lava spreads by duplicating itself to open horizontal and downward squares.
Lava is slower than water and can be easily outrun.
0.0.13aLava JE2.png Changed texture to opaque and colors.
0.0.13a_03Lava lakes no longer generate.
0.0.19aLava JE3.png The texture of lava has been changed. The old texture can still be found in the terrain.png.
The texture of lava is now animated.
At the bottom of the map, lava can be found directly above bedrock in a different form, as it traps the player and prevents the player from leaving unless water is let in and collides with it or if the player places a sand or gravel block, letting it drop into the lava. If water is let into the area where the lava is, the lava becomes stone, allowing the stone block to be removed to expose bedrock underneath.
0.0.22aLava JE2.gif Brightened the texture of lava.
August 25, 2009Lava now has been shown to deal damage. The update this was actually implemented in is unknown.
Java Edition Indev
0.3120100110Lava now sets fire to flammable materials.
20100122Lava can now be found in the player's inventory.[2]
Like water, lava now flows, but more slowly than water.[3]
20100124Lava can no longer be found in the player's inventory. Instead, a full stack (99) can be found inside the Indev House chests.
20100125-1Lava now has particle effects.
Java Edition Infdev
Minecraft Infdev20100615Lava JE3.gif The model of lava now uses flow texture on side faces.
20100616Lava now flows more realistically across surfaces, but not as much as water does.
Lava flows for a total distance of 3 blocks "away" from the source block.
Just like water, lava flows in a single line toward the nearest terrain depression within four blocks.
Items thrown into lava flows now disintegrate.
All objects burn instantaneously when dropped into lava.
Fired arrows do not disintegrate in lava, but appear to catch fire and can still be picked up.
Magma is no longer present at the bottom of maps in this mode.
Lava can now melt ice and snow, despite these not existing until Alpha.
Lava is now luminous.
A large lava flow is now visible in the dark from quite a distance.
Java Edition Alpha
v1.0.2_02Liquids, including lava, have been slightly tweaked.
v1.0.6_03Obsidian has been readded after being removed in Indev, which water and lava can create.
v1.0.15Lava now sets nearby blocks on fire.
v1.2.0previewAdded the Nether, with lots of lava everywhere.
v1.2.2Lava now flows further in the Nether.
Java Edition Beta
1.8Pre-releaseWhen lava is touched by rain, it emits smoke particles.
Java Edition
1.0.0Beta 1.9 PrereleaseWhen lava flows above a block, its underside now emits dripping particles.
Lava blocks now form stone when falling directly onto water source blocks.
Beta 1.9 Prerelease 5Only in this version, it is possible to create an infinite lava source using a plus-sign shaped arrangement of blocks with four lava source blocks flowing into a central empty block.
1.2.112w05aLava (as well as the embers that pop out of it) now makes sounds. These sounds were in the game files for a long time, but they had not played in-game.
1.3.112w15aLava can now be fired out of dispensers.
1.4.212w38aFlowing lava now has a constant sound.
1.513w02aThere is now "hidden lava" in the Nether.
Lava now flows much more quickly in the Nether.
The texture of lava is now accessible. Before, the texture was hidden in the code and not accessible by any normal basis due to being based on a cellular automaton.[verify]
Lava JE5.png The texture of lava has been changed.
1.6.113w18aLava no longer lingers after the source is removed.
1.7.213w37aFlowing lava, which previously could be destroyed by a few blocks of TNT, can no longer be destroyed by explosions.
1.814w25aThe item forms of block IDs 10 (flowing lava) and 11 (still lava) have been removed from the game. They can no longer exist in inventories, only as blocks in the world.
1.1116w39aLava now generates in woodland mansions.
1.1317w47aPrior to The Flattening, these blocks' numeral IDs were 10 and 11, and the item's 327.
18w15aSwamp Lava 18w15a.png Swamp Hills Lava 18w15a.png Frozen Ocean Lava 18w15a.png Cold Ocean Lava 18w15a.png Plains Lava 18w15a.png Lukewarm Ocean Lava 18w15a.png Warm Ocean Lava 18w15a.png With the introduction of more biome colors of water in this snapshot, lava color is now also affected by biomes.[4]
18w16aLava JE5.png The color of lava is no longer biome-affected.
1.1620w09aLava now pushes entities.
20w13aAdded striders, which can be saddled and ridden across lava.
When lava flows over soul soil next to blue ice, it now turns into basalt.
20w16aLava now generates as part of bastion remnants and ruined portals.
Pre-release 3Visibility under lava is now slightly better when under the effect of Fire Resistance.
Upcoming Java Edition
1.1720w45aCauldrons can now be filled with lava.
21w11aSpectator mode players can now see through lava.
Pocket Edition Alpha
v0.1.0Lava BE1.png Added lava.
v0.3.3Lava no longer creates fire, due to a game breaking spreading bug.
v0.7.0Lava now lights flammable blocks around it on fire.
Lava BE2.png Lava now has a flowing animation.
v0.8.0build 5Lava flowing directly into water now actually spreads out over it.
v0.9.0build 1Underground ponds of lava can now be found, making lava much more easy to obtain.
Lava dripping particles have been added.
Lava now generates in village blacksmiths and stronghold end portal rooms.
v0.12.1build 1Players are now able to swim in lava.
Lava now generates in the Nether.
build 6Lava BE3.png Lava is now brighter. However, it is not known if this is a texture change.
build 8Lava now cancels all fall damage.
Pocket Edition
1.1.0alpha 1.1.0.0Lava now generates in woodland mansions.
Bedrock Edition
1.11.0beta 1.11.0.5Lava BE4.png The texture for lava has been changed to match Java Edition.
1.16.0beta 1.16.0.51Lava can now push entities.
beta 1.16.0.57Lava now found as delta that generate in basalt deltas.
Lava now generates as part of bastion remnants and ruined portals.
When lava flows over soul soil next to blue ice, it now turns into basalt.
Legacy Console Edition
TU1CU1 1.0 Patch 11.0.1Lava JE4.png Added lava.
TU12Lava (as well as the embers that pop out of it) now makes sounds.
TU19CU7 1.12 Lava JE5.png The texture for lava has been changed.
New Nintendo 3DS Edition
0.1.0Lava BE3.png Added lava.

Lava "items"

This section is missing information about
  • Bedrock Edition history (addition, changes made, it was obtainable at at least one point)
  • Pick Block functionality
  • Appearence changes. 
Please expand the section to include this information. Further details may exist on the talk page.
Java Edition Classic
?Lava has an extra, unobtainable item form corresponding to its block ID, which uses the "texture" rendered as a cube.
?Lava can be obtained via inventory editors with numeric item ID 10.
Flowing lava can be obtained via inventory editors with numeric item ID 11.
0.24_SURVIVAL_TESTLava can be obtained as an item by having a creeper explode near it.
0.24_SURVIVAL_TEST_03Explosions no longer drop lava as an item.
Java Edition Infdev
Minecraft Infdev2010061532px 32px Lava items are now completely flat.
Unknown
?When placed, still lava items always remain still until receiving a block update. Flowing lava items spread immediately.
Java Edition Beta
?Both items are called Lava.
1.6Test Build 3Lava items can be obtained from the newly added debug chests, mainly from the 10th slot of the 1st chest from the left, and the 21th slot of the 4th chest from the left.
Flowing lava items can be obtained from the newly added debug chests, mainly from the 11th slot of the 1st chest from the left, and the 22nd slot of the 4th chest from the left.
releaseDebug chests no longer spawn, preventing lava and flowing lava items from being obtained this way.
Java Edition
1.3.112w16aLava items can now be obtained in singleplayer worlds via the /give command using the respective numeric IDs.
1.513w02a32px 32px Lava items now use the still lava texture likely due to texture storage reforms.[is this the correct version?]
1.814w25aThe direct item forms of lava and flowing lava have been removed from the game. They can no longer exist as items in any way, only as placed blocks.

Issues

Issues relating to "Lava" are maintained on the bug tracker. Report issues there.

Trivia

  • A player with Fire Resistance can swim in lava without taking damage, although the swimming speed is slower.
  • A player cannot sprint-swim on lava.
  • An arrow shot into flowing lava catches fire, but not if shot into still lava.
  • A water source block placed 1 block away upward diagonally (but not through corners) from a lava block first flows in the direction of the lava, then other directions facing away from the lava. This happens because water physics treat the lava block as empty, and try to flow to it. Once the water turns the lava into obsidian, the water physics update to flow in all directions. (The same thing happens with lava flowing over water.)
  • Although lava is a liquid, it is not possible to drown in lava. This applies to all mobs. However, it is still possible to suffocate in lava. This applies to almost every mob.‌[Bedrock Edition only][5]
  • A player sleeping in a bed cannot be damaged by lava.
  • If the lava is changed to be transparent via a resource pack, it does not become transparent.
  • Unlike water‌[Bedrock Edition only], lava does not deactivate elytra.

Gallery

References

External links