Minecraft Wiki

The Minecraft Wiki is no longer considered as official by Microsoft and therefore several changes are required to be made, including to the wiki's logo. Please read this announcement for more information.

READ MORE

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

Yes

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 glitches (in old versions), 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. Lava may be obtained renewably from cauldrons, as pointed dripstone with a lava source above it can slowly fill a cauldron with lava.

Natural generation[]

During world generation, lava replaces air blocks generated in caves and ravines between Y=1 and Y=10.‌[until JE 1.18 & BE 1.18.0] If the Caves & Cliffs experimental gameplay toggle is enabled in Bedrock Edition, lava instead replaces air blocks between Y=-63 and Y=-56. Lava does not replace air blocks inside mineshafts, dungeons, or strongholds.

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 generates as lava 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 32, about a quarter of the total height of the Nether (as the usable space in the Nether is 128 blocks tall). They can extend down to about y-level 19-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 the Fire Resistance effect 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 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 the 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 entities, including those that are normally immune to lava damage.

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. In Bedrock Edition using the /setblock command can be used to create stationary lava without the use of barriers.

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

Flowing lava in the Overworld and the End
Flowing lava in the Nether

Flow arrangement tables[]

Overworld and the 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
the 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.

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 and netherite scrap.

Lava can be placed in an empty cauldron.

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

Farming[]

Lava farms can be created by placing a lava source block on top of a solid block and a pointed dripstone and a cauldron underneath.

Sounds[]

SoundSubtitlesSourceDescriptionResource locationTranslation 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:

LavaResource locationBlock tags (JE)FormTranslation key
Blocklavastrider_warm_blocksBlockblock.minecraft.lava
LavaResource locationFluid tags (JE)
Fluidlavalava
Flowing Fluidflowing_lavalava

Bedrock Edition:

LavaResource locationNumeric 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 (PS4)
PS4 Other platforms
Stayin' FrostySwim in lava while having the Fire Resistance effect.20GBronze

Advacements[]

Icon Advancement In-game description Parent Actual requirements (if different) Resource location
Advancement-plain-raw.pngHot Stuff
Fill a bucket with lava Acquire HardwareHave a lava bucket in your inventory.story/lava_bucket

History[]

Java Edition Classic
0.0.12aMay 19, 2009Showed lava.
releaseLava 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.
Unknown
?There is now a flowing lava texture, currently used for the sides of lava. They previously used the still texture.
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.
20100130Added an infinite lava sea to the bottom of the map.
Java Edition Infdev
20100615Lava JE3.gif The sides of lava now visually appear to be flowing downwards.
20100616Lava now flows more realistically across surfaces, but not as much as water does.
Lava flows for a total distance of 7 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.
20100617-2Lava now flows 3 blocks horizontally instead of 7.
Flowing lava touching water now becomes cobblestone.
Lava source touching water now becomes obsidian.
Removed the infinite lava sea at the bottom of the map.
Java Edition Alpha
v1.0.2_02Liquids, including lava, have been slightly tweaked.
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.
v1.2.6Added lava lakes, which can generate at any altitude.
Java Edition Beta
1.8Pre-releaseWhen lava is touched by rain, it emits smoke particles.
Lava now generates in the blacksmiths of the newly added villages.
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 3Lava now generates in the newly added end portal rooms of strongholds.
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.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.
1.1720w45aCauldrons can now be filled with lava.
20w48aAdds a renewable way of obtaining lava through cauldrons and pointed dripstone.
21w06aLava no longer replaces air below Y=11.
21w08aLava now replaces air below Y=-53.
Lava springs are able to generate below Y=0.
21w11aSpectator mode players can now see through lava.
21w13aLava is now fully renewable, as pointed dripstone can be obtained in Survival without custom generation.
21w15aThe changes to lava generation in 21w06a and 21w08a have been reverted.
Upcoming Java Edition
1.18Experimental Snapshot 1The changes to lava generation in the 1.17 snapshots have been reintroduced.
Aquifers below Y=0 sometimes generate with lava instead of water.
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.00 Patch 11.0.1Lava JE4.png Added lava.
TU12Lava (as well as the embers that pop out of it) now makes sounds.
TU14 1.04 Lava JE5.png The texture for lava has been changed.[verify]
New Nintendo 3DS Edition
0.1.0Lava BE3.png Added lava.

Lava "items"[]

The following content is transcluded from Technical blocks/Lava.
Java Edition Classic
?Lava has an extra, unobtainable item form corresponding to its block ID, which uses the "texture" rendered as a cube.
?Flowing lava can be obtained via inventory editors with numeric item ID 10.
Still 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
20100615When placed, still lava items always remain still until receiving a block update. Flowing lava items spread immediately.
Java Edition Beta
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.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.
Pocket Edition Alpha
?Lava exists as an item.

Appearances[]

Unknown
?Lava (inventory) JE1.png Lava (inventory) JE1.png Lava appears like this in the inventory. It appears about two pixels offset downwards compared to other cube items.
?
In awe at the size of these fluids.png
Lava items, when dropped on the ground, appear much larger than other blocks.
Java Edition Infdev
20100607Lava (inventory) JE2.png Lava (inventory) JE2.png A texture bug in this version results in lava items containing some parts of the water texture.
20100608Lava (inventory) JE1.png Lava (inventory) JE1.png Lava items are now fully lava again.
20100611Lava (inventory) JE4.png Lava (inventory) JE4.png All 3D rendered items, which currently includes lava, now appear shaded slightly darker in the inventory.
20100615Lava (inventory) JE5.png Lava (inventory) JE5.png Lava items are now completely flat.
When placed, still lava items always remain still until receiving a block update. Flowing lava items spread immediately.
20100616Lava (inventory) JE6.png Lava (inventory) JE6.png In accordance with the change to lava itself, lava items now appear flowing rather than still.
Java Edition
1.513w02aLava (texture) JE5-a1.gif Lava (texture) JE5-a1.gif Lava items now use the still lava texture likely due to texture storage reforms.
Bedrock Edition
?The item only appears animated when in the inventory or hotbar. When dropped, held or in an item frame, it appears completely stationary.
?When held, the item uses the whole 32x32 flowing texture rather than the usual 16x16 section of it.
?Lava (inventory) BE around 1.4.0.png Lava now looks like this in the inventory.
?Lava can now be obtained as an item through breaking surrounding blocks in a certain way.[5]
?Lava (inventory) BEtint.png Lava now appears tinted like water is in the inventory.
?Lava (inventory) BE.gif Lava now looks like this in the inventory.
?Lava no longer appears at twice the usual resolution in the player's hand.

Names[]

Still Lava[]
Java Edition

Item names did not exist prior to Beta 1.0.

  • Beta 1.0 - 14w21b: Lava
Bedrock Edition
  •  ? - ?: tile.lava.name[6]
Flowing Lava[]
Java Edition

Item names did not exist prior to Beta 1.0.

  • Beta 1.0 - 14w21b: Lava
Bedrock Edition
  •  ? - ?: Lava[7]

Texture generation prior to Java Edition 13w02a and Bedrock Edition v0.14.2[]

This section is missing information about c0.0.19a era lava. 
Please expand the section to include this information. Further details may exist on the talk page.

Still lava[]

Adapted from https://github.com/UnknownShadow200/ClassiCube/wiki/MInecraft-Classic-lava-animation-algorithm#lava

Every frame, for each position in the still water texture array, the respective values for soup_heat, pot_heat and flame_heat are calculated as detailed below:

  • Calculates a local_soup_heat equal to the sum of the 3x3 soup_heat neighborhood around the current element but offset vertically by colSin******* and offset horizontally by rowSin*********.
    • rowSin is 1.2 times the sign of an angle that starts at 0 and changes by 22.5 degrees every row.
    • colSin is 1.2 times the sign of an angle that starts at 0 and changes by 22.5 degrees every column.
  • Calculates a local_pot_heat equal to the sum of a 2x2 pot_heat neighborhood around the current pot_heat, with the current position being the upper left of the 2x2 neighborhood.
  • Calculates the new soup_heat as the sum of the local_soup_heat divided by 10 plus the local_pot_heat divided by 4 times 0.8.
  • Calculates the new pot_heat as the current pot_heat plus the flame_heat times 0.01***************. pot_heat is clamped to a minimum of 0.
  • Calculates the new flame_heat as the current flame_heat minus 0.06.
    • However, there is a 0.005 in 1 random chance that flame_heat is set to 1.5.

Once the above arrays have been updated, for each pixel in the lava texture, the color values are calculated based on soup_heat (alpha is always opaque for lava):

  • Calculates a color_heat as double the soup_heat clamped between 0 and 1 inclusive.
  • Then it calculates the color components of the pixel as follows:
    • float red = color_heat * 100F + 155F
    • float green = color_heat^2 * 255F
    • float blue = color_heat^4 * 128F

The red, green and blue values are then converted to bytes and assigned to the texture accordingly.

Flowing lava[]

Flowing lava uses the exact same texture as still lava, however there is also a spatial translation to give the appearence of movement. This transformation moves the lava texture downwards by one pixel after a fixed amount of time,[more information needed] wrapping the bottom layer of the texture back to the top.

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 does not become faster.
  • 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][8]
  • 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.
  • It has never been possible to create infinite sources of lava by regular means. Despite this, the Minecraft: Combat Handbook (2014), stated the possibility to create infinite sources of lava by simply creating a cross shape with 4 nether bricks and placing lava in the middle. As expected, this turned out to be false, as confirmed by Dinnerbone.[9]
  • Despite behaving identically to water while in the Nether, it is not possible to create infinite springs of lava in the Nether.

Gallery[]

References[]

External links[]

Advertisement