Lava
| Renewable |
Yes |
|---|---|
| Transparent |
Yes |
| Luminance |
Yes (15) |
| Blast resistance |
100 |
| Tool | |
| Creates sources? |
No |
| Flow distance |
4 (Overworld, End) |
| Flow speed |
30 ticks per block (Overworld, End) |
Lava is a light-emitting fluid block that causes fire damage, mostly found in the lower reaches of the Overworld and the Nether.
Contents
Obtaining[edit]
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. 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[edit]
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 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 31, 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[edit]
Fuel[edit]
When used in a furnace, a bucket of lava lasts 1000 seconds (100 items).
Burning[edit]
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[edit]
- 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[edit]
- 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[edit]
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[edit]
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 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 overworld
- Flowing lava in Nether
Flow arrangement tables[edit]
Overworld and End[edit]
| 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[edit]
| 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[edit]
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[edit]
Lava blocks emit a light level of 15.
Other[edit]
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[edit]
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[edit]
| Sound | Subtitles | Source | Description | Namespaced ID | Translation key | Volume | Pitch | Attenuation distance |
|---|---|---|---|---|---|---|---|---|
| Lava pops | Blocks | Random | block.lava.ambient | subtitles.block.lava.ambient | ? | ? | 16 | |
| Lava hisses | Blocks | Lava colliding with water | block.lava.extinguish | subtitles.block.lava.extinguish | ? | ? | 16 | |
| Lava pops | Blocks | Lava bubble particle spawns | block.lava.pop | subtitles.block.lava.ambient | ? | ? | 16 | |
| Bucket empties | Blocks | Placing lava with a bucket | item.bucket.empty_lava | subtitles.item.bucket.empty | ? | ? | 16 | |
| Bucket fills | Players | Grabbing lava with a bucket | item.bucket.fill_lava | subtitles.item.bucket.fill | ? | ? | 16 |
Data values[edit]
ID[edit]
| Lava | Namespaced ID | Block tags (JE) | Form | Translation key |
|---|---|---|---|---|
| Block | lava | strider_warm_blocks | Block | block.minecraft.lava |
| Lava | Namespaced ID | Fluid tags (JE) |
|---|---|---|
| Fluid | lava | lava |
| Flowing Fluid | flowing_lava | lava |
| Lava | Namespaced ID | Numeric ID | Form | Translation key |
|---|---|---|---|---|
| Updating | flowing_lava | 10 | Block | tile.flowing_lava.name |
| Stationary | lava | 11 | Block | tile.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[edit]
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[edit]
| Name | Default value | Allowed values | Description |
|---|---|---|---|
| level | 0
| 0 | Lava source block. |
1234567 | The distance from a lava source or a falling lava. In the End and Overworld, only 2, 4 and 6 are used. | ||
89101112131415 | 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_depth | 0
| 0 | Lava source block. |
1234567 | The distance from a lava source or a falling lava. In the End and Overworld, only 2, 4 and 6 are used. | ||
89101112131415 | 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[edit]
Java Edition:
Lava
| Name | Default value | Allowed values | Description |
|---|---|---|---|
| falling | false | truefalse | Always false. |
Flowing lava
| Name | Default value | Allowed values | Description |
|---|---|---|---|
| falling | false | falsetrue | True for falling lava, false for lava with a block below. |
| level | 1 | 12345678 | Height of the lava, 8 when the lava is falling. |
Achievements[edit]
| Icon | Achievement | In-game description | Actual requirements (if different) | Gamerscore earned | Trophy type (PS) | |
|---|---|---|---|---|---|---|
| Stayin' Frosty | Swim in lava while having the Fire Resistance effect. | — | 20G | Bronze | ||
History[edit]
| Java Edition Classic | |||||
|---|---|---|---|---|---|
| May 19, 2009 | Lava is shown. | ||||
| 0.0.12a | |||||
| 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.13a | |||||
| 0.0.13a_03 | Lava lakes no longer generate. | ||||
| 0.0.19a | |||||
| 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.22a | |||||
| August 25, 2009 | Lava 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.31 | 20100110 | Lava now sets fire to flammable materials. | |||
| 20100122 | Lava can now be found in the player's inventory.[2] | ||||
| Like water, lava now flows, but more slowly than water.[3] | |||||
| 20100124 | Lava can no longer be found in the player's inventory. Instead, a full stack (99) can be found inside the Indev House chests. | ||||
| 20100125-1 | Lava now has particle effects. | ||||
| Java Edition Infdev | |||||
| Minecraft Infdev | 20100615 | ||||
| 20100616 | Lava 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_02 | Liquids, including lava, have been slightly tweaked. | ||||
| v1.0.6_03 | Obsidian has been readded after being removed in Indev, which water and lava can create. | ||||
| v1.0.15 | Lava now sets nearby blocks on fire. | ||||
| v1.2.0 | preview | Added the Nether, with lots of lava everywhere. | |||
| v1.2.2 | Lava now flows further in the Nether. | ||||
| Java Edition Beta | |||||
| 1.8 | Pre-release | When lava is touched by rain, it emits smoke particles. | |||
| Lava now generates in the blacksmiths of the newly added villages. | |||||
| Java Edition | |||||
| 1.0.0 | Beta 1.9 Prerelease | When lava flows above a block, its underside now emits dripping particles. | |||
| Lava blocks now form stone when falling directly onto water source blocks. | |||||
| Lava now generates in the newly added end portal rooms of strongholds. | |||||
| Beta 1.9 Prerelease 5 | Only 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.1 | 12w05a | Lava (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.1 | 12w15a | Lava can now be fired out of dispensers. | |||
| 1.4.2 | 12w38a | Flowing lava now has a constant sound. | |||
| 1.5 | 13w02a | There 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] | |||||
| 1.6.1 | 13w18a | Lava no longer lingers after the source is removed. | |||
| 1.7.2 | 13w37a | Flowing lava, which previously could be destroyed by a few blocks of TNT, can no longer be destroyed by explosions. | |||
| 1.11 | 16w39a | Lava now generates in woodland mansions. | |||
| 1.13 | 17w47a | Prior to The Flattening, these blocks' numeral IDs were 10 and 11, and the item's 327. | |||
| 18w15a | |||||
| 18w16a | |||||
| 1.16 | 20w09a | Lava now pushes entities. | |||
| 20w13a | Added striders, which can be saddled and ridden across lava. | ||||
| When lava flows over soul soil next to blue ice, it now turns into basalt. | |||||
| 20w16a | Lava now generates as part of bastion remnants and ruined portals. | ||||
| Pre-release 3 | Visibility under lava is now slightly better when under the effect of Fire Resistance. | ||||
| 1.17 | 20w45a | Cauldrons can now be filled with lava. | |||
| 21w11a | Spectator mode players can now see through lava. | ||||
| Pocket Edition Alpha | |||||
| v0.1.0 | |||||
| v0.3.3 | Lava no longer creates fire, due to a game breaking spreading bug. | ||||
| v0.7.0 | Lava now lights flammable blocks around it on fire. | ||||
| v0.8.0 | build 5 | Lava flowing directly into water now actually spreads out over it. | |||
| v0.9.0 | build 1 | Underground 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.1 | build 1 | Players are now able to swim in lava. | |||
| Lava now generates in the Nether. | |||||
| build 6 | |||||
| build 8 | Lava now cancels all fall damage. | ||||
| Pocket Edition | |||||
| 1.1.0 | alpha 1.1.0.0 | Lava now generates in woodland mansions. | |||
| Bedrock Edition | |||||
| 1.11.0 | beta 1.11.0.5 | ||||
| 1.16.0 | beta 1.16.0.51 | Lava can now push entities. | |||
| beta 1.16.0.57 | Lava 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 | |||||
| TU1 | CU1 | 1.0 | Patch 1 | 1.0.1 | |
| TU12 | Lava (as well as the embers that pop out of it) now makes sounds. | ||||
| TU19 | CU7 | 1.12 | |||
| New Nintendo 3DS Edition | |||||
| 0.1.0 | |||||
Lava "items"[edit]
- 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_TEST | Lava can be obtained as an item by having a creeper explode near it. | ||||
| 0.24_SURVIVAL_TEST_03 | Explosions no longer drop lava as an item. | ||||
| Java Edition Infdev | |||||
| Minecraft Infdev | 20100615 | When placed, still lava items always remain still until receiving a block update. Flowing lava items spread immediately. | |||
| Java Edition Beta | |||||
| 1.6 | Test Build 3 | Lava 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. | |||||
| release | Debug chests no longer spawn, preventing lava and flowing lava items from being obtained this way. | ||||
| Java Edition | |||||
| 1.3.1 | 12w16a | Lava items can now be obtained in singleplayer worlds via the /give command using the respective numeric IDs. | |||
| 1.8 | 14w25a | The 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[edit]
| Unknown | |||||
|---|---|---|---|---|---|
| ? | |||||
| ? | Lava items, when dropped on the ground, appear much larger than other blocks. | ||||
| Java Edition Infdev | |||||
| Minecraft Infdev | 20100607 | ||||
| 20100608 | |||||
| 20100611 | |||||
| 20100615 | |||||
| When placed, still lava items always remain still until receiving a block update. Flowing lava items spread immediately. | |||||
| 20100616 | |||||
| Java Edition | |||||
| 1.5 | 13w02a | ||||
| 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 can now be obtained as an item through breaking surrounding blocks in a certain way.[5] | ||||
| ? | |||||
| ? | |||||
| ? | Lava no longer appears at twice the usual resolution in the player's hand. | ||||
Names[edit]
Still Lava[edit]
Item names did not exist prior to Beta 1.0.
- Beta 1.0 - 14w21b: Lava
- ? - ?: tile.lava.name[6]
Flowing Lava[edit]
Item names did not exist prior to Beta 1.0.
- Beta 1.0 - 14w21b: Lava
- ? - ?: Lava[7]
Texture generation prior to Java Edition 13w02a and Bedrock Edition v0.15.0[edit]
Still lava[edit]
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 + 155Ffloat green = color_heat^2 * 255Ffloat blue = color_heat^4 * 128F
The red, green and blue values are then converted to bytes and assigned to the texture accordingly.
Flowing lava[edit]
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[edit]
Issues relating to "Lava" are maintained on the bug tracker. Report issues there.
Trivia[edit]
- 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.
Gallery[edit]
The lava "ocean" layer of caves.
The warning in Legacy Console Edition when trying to place lava near the spawn point.
A lava spring.
Lava found in a snowy ravine.





































