<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3AHeightmap</id>
	<title>Minecraft:Heightmap - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.sasgaming.net/index.php?action=history&amp;feed=atom&amp;title=Minecraft%3AHeightmap"/>
	<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Heightmap&amp;action=history"/>
	<updated>2026-06-10T00:20:22Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.43.8</generator>
	<entry>
		<id>https://wiki.sasgaming.net/index.php?title=Minecraft:Heightmap&amp;diff=125012&amp;oldid=prev</id>
		<title>SyncBot: Sync: new page from Minecraft</title>
		<link rel="alternate" type="text/html" href="https://wiki.sasgaming.net/index.php?title=Minecraft:Heightmap&amp;diff=125012&amp;oldid=prev"/>
		<updated>2026-05-18T11:07:47Z</updated>

		<summary type="html">&lt;p&gt;Sync: new page from Minecraft&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{about|the heightmaps of chunk terrain|the heightmaps controlling three-dimensional textures|Texture set}}&lt;br /&gt;
{{Missing information|Heightmaps {{in|be}}&amp;lt;br&amp;gt;&amp;lt;small&amp;gt;Note: Heightmaps do exist {{in|be}}, this is confirmed by feature placement behavior packs which can use &amp;lt;code&amp;gt;&amp;quot;y&amp;quot;: &amp;quot;query.heightmap(variable.worldx, variable.worldz)&amp;quot;&amp;lt;/code&amp;gt; in the distribution to place a feature on the surface, but no other information about heightmaps has been found.&amp;lt;/small&amp;gt;}}&lt;br /&gt;
&lt;br /&gt;
&amp;#039;&amp;#039;&amp;#039;Heightmaps&amp;#039;&amp;#039;&amp;#039; are maps to store the Y-level of the highest block at each horizontal coordinate. They are stored in chunk files and used for various game calculations.&lt;br /&gt;
&lt;br /&gt;
== Motion blocking ==&lt;br /&gt;
The last four heightmaps are based on a property called motion blocking. This is defined as follows:&lt;br /&gt;
&lt;br /&gt;
* [[Minecraft:Cobweb|Cobwebs]] and [[Minecraft:Bamboo Sapling|bamboo saplings]] are considered not motion blocking.&lt;br /&gt;
* The block must be &amp;quot;solid&amp;quot;. On [[Minecraft:Java Edition]], this is defined using the [[Minecraft:Legacy solid]] property. Note that this is not the same as having a collision box. Some blocks like snow [[Minecraft:Azalea|azaleas]] are not considered solid while having a collision box, and other blocks like [[Minecraft:Banner|banners]] are considered solid while having no collision box. &lt;br /&gt;
&lt;br /&gt;
== Types ==&lt;br /&gt;
Several different heightmaps check and store highest block of different types, and are used for different purposes. {{IN|java}}, there are six heightmap types:&lt;br /&gt;
&lt;br /&gt;
* &amp;lt;code&amp;gt;WORLD_SURFACE&amp;lt;/code&amp;gt;: Stores the Y-level of the highest non-air (all types of air) block.&lt;br /&gt;
* &amp;lt;code&amp;gt;WORLD_SURFACE_WG&amp;lt;/code&amp;gt;: Stores the Y-level of the highest non-air (all types of air) block. Used only during world generation.&lt;br /&gt;
* &amp;lt;code&amp;gt;OCEAN_FLOOR&amp;lt;/code&amp;gt;: Stores the Y-level of the highest block whose [[Minecraft:material]] blocks motion. Used only on the server side.&lt;br /&gt;
* &amp;lt;code&amp;gt;OCEAN_FLOOR_WG&amp;lt;/code&amp;gt;: Stores the Y-level of the highest block whose material blocks motion. Used only during world generation.&lt;br /&gt;
* &amp;lt;code&amp;gt;MOTION_BLOCKING&amp;lt;/code&amp;gt;: Stores the Y-level of the highest block whose material blocks motion or blocks that contains a fluid ([[Minecraft:water]], [[Minecraft:lava]], or [[Minecraft:waterlogged]] blocks). &lt;br /&gt;
* &amp;lt;code&amp;gt;MOTION_BLOCKING_NO_LEAVES&amp;lt;/code&amp;gt;: Stores the Y-level of the highest block whose material blocks motion, or blocks that contains a fluid (water, lava, or waterlogged blocks), except various [[Minecraft:leaves]]. Used only on the server side, e.g. for pillager patrol spawning.&lt;br /&gt;
&lt;br /&gt;
== Usage ==&lt;br /&gt;
Heightmaps are used for various in-game calculations. For example, a lightning rod can only be triggered when there is no non-air block above it. Therefore, the game compares the Y-level of lightning rod with heightmap WORLD_SURFACE to know if there are non-air blocks above it.&lt;br /&gt;
&lt;br /&gt;
Heightmaps of both server side and client side can be seen in [[Minecraft:debug screen]]. The &amp;quot;CH&amp;quot; line is the value in client side heightmaps at the player&amp;#039;s current X/Z coordinates. The &amp;quot;SH&amp;quot; line is the server side value in heightmaps at the player&amp;#039;s current X/Z coordinates. In the two lines:&lt;br /&gt;
* S means WORLD_SURFACE&lt;br /&gt;
* O means OCEAN_FLOOR&lt;br /&gt;
* M means MOTION_BLOCKING&lt;br /&gt;
* ML means MOTION_BLOCKING_NO_LEAVES&lt;br /&gt;
&lt;br /&gt;
{{cmd|execute positioned over}} can change the execution position of the command to one block above the Y-level stored in the specified heightmap. WORLD_SURFACE_WG and OCEAN_FLOOR_WG cannot be used in this command.&lt;br /&gt;
&lt;br /&gt;
== Navigation ==&lt;br /&gt;
{{Navbox Java Edition technical|general}}&lt;br /&gt;
&lt;br /&gt;
[[Minecraft:fr:Champ de hauteur]]&lt;br /&gt;
[[Minecraft:ja:高度マップ]]&lt;br /&gt;
[[Minecraft:pt:Heightmap]]&lt;br /&gt;
[[Minecraft:zh:高度图]]&lt;/div&gt;</summary>
		<author><name>SyncBot</name></author>
	</entry>
</feed>