Mineuniverse
Dirt (Minecraft 4k)

Dirt (Minecraft 4k)

In Minecraft 4k, there are 10 variants of dirt, but they only have slight texture differences. Many of them appear to be a placeholder texture as ID 9 was…

2 min read Updated 2 views
Blocks Blocks with no item form Minecraft 4k
Advertisement Remove ads with Premium →
Contents (7)
  1. Texture
  2. Data values
  3. ID
  4. History
  5. Gallery
  6. Textures
  7. Navigation
This feature is exclusive to Minecraft 4k.
Dirt
4k-2 Dirt 2.png: Infobox image for Minecraft infobox 'Dirt'
4k-2 Dirt 3.png: Infobox image for Minecraft infobox 'Dirt'
4k-2 Dirt 6.png: Infobox image for Minecraft infobox 'Dirt'
4k-2 Dirt 9.png: Infobox image for Minecraft infobox 'Dirt'
4k-2 Dirt 10.png: Infobox image for Minecraft infobox 'Dirt'
4k-2 Dirt 11.png: Infobox image for Minecraft infobox 'Dirt'
4k-2 Dirt 12.png: Infobox image for Minecraft infobox 'Dirt'
4k-2 Dirt 13.png: Infobox image for Minecraft infobox 'Dirt'
4k-2 Dirt 14.png: Infobox image for Minecraft infobox 'Dirt'
4k-2 Dirt 15.png: Infobox image for Minecraft infobox 'Dirt'

In Minecraft 4k, there are 10 variants of dirt, but they only have slight texture differences. Many of them appear to be a placeholder texture as ID 9 was replaced with water in the JavaScript version.

Texture

The texture for dirt was generated by the game at runtime (similarly to what was done in Java Edition at that time for water and lava), rather than being stored inside of the jar as an image file.

As with all other block textures in Minecraft 4k, the dirt block's textures are generated by going over every pixel in the texture left to right, top to bottom.

For each texture, there is a value that will be called "subTexture".

  • subTexture = 0 is the top texture
  • subTexture = 1 is the side texture
  • subTexture = 2 is the bottom texture

For each pixel, the game generates a new "randomVariation", which is calculated by subtracting a random value from 0 to 95 from 255, resulting in a random value between 160 and 255.

After that, the game creates a new value called "color" which is set to
 #966C4A

The game then creates a new value, that will be called "randomVariationWithBlockSideLight", where

  • If subTexture = 2 (the bottom texture) set randomVariationWithBlockSideLight to randomVariation ÷ 2.
  • Else, set randomVariationWithBlockSideLight to randomVariation.

The game multiplies the each of "color"'s RGB channels by randomVariationWithBlockSideLight to get the final RGBA color of the pixel on the texture.[1]

Data values

ID

NameNumeric ID Form
BlockSprite dirt2-4k.png: Sprite image for dirt2-4k in Minecraft [No displayed name]2Block
BlockSprite dirt3-4k.png: Sprite image for dirt3-4k in Minecraft [No displayed name]3Block
BlockSprite dirt6-4k.png: Sprite image for dirt6-4k in Minecraft [No displayed name]6Block
BlockSprite dirt9-4k.png: Sprite image for dirt9-4k in Minecraft [No displayed name]9Block
BlockSprite dirt10-4k.png: Sprite image for dirt10-4k in Minecraft [No displayed name]10Block
BlockSprite dirt11-4k.png: Sprite image for dirt11-4k in Minecraft [No displayed name]11Block
BlockSprite dirt12-4k.png: Sprite image for dirt12-4k in Minecraft [No displayed name]12Block
BlockSprite dirt13-4k.png: Sprite image for dirt13-4k in Minecraft [No displayed name]13Block
BlockSprite dirt14-4k.png: Sprite image for dirt14-4k in Minecraft [No displayed name]14Block
BlockSprite dirt15-4k.png: Sprite image for dirt15-4k in Minecraft [No displayed name]15Block

History

Minecraft 4k
4k-2 Added dirt in 10 variations.
4k-JavaScript Dirt with block ID 9 has been removed and replaced with water.

Textures

ID 2

ID 3

ID 6

ID 9

ID 10

ID 11

ID 12

ID 13

ID 14

ID 15

Advertisement Remove ads with Premium →

More in Blocks with no item form

View all 20 →
AirAirAir is an invisible block used to define unoccupied space where other blocks and items could exist; it represents the absence of a block or an item. It is…Bricks (Minecraft 4k)Bricks (Minecraft 4k)In Minecraft 4k, bricks have a block ID of 5.Bubble ColumnBubble ColumnA bubble column is an air-providing vertical water current. It is created by magma blocks and soul sand and, depending on the block used, will either pull…End Gateway (block)End Gateway (block)The End gateway is a block that forms a part of End gateways, which teleport the player between the central island and the outer islands in the End. It is…End Portal (block)End Portal (block)The End portal block is a block generated when an End portal or exit portal is activated, which teleports the player between the Overworld and the End. It…FireFireFire is a non-solid block that can spread to nearby flammable blocks and destroy them.Grass Block (Minecraft 4k)Grass Block (Minecraft 4k)In Minecraft 4k, the grass block has a block ID of 1. It was originally the XOR Block. Unlike normal Minecraft, grass blocks do not turn into dirt when a…Invisible BedrockInvisible BedrockInvisible bedrock is an invisible block used to create a world boundary around Old worlds and the void floor in Bedrock Edition.
Advertisement Remove ads with Premium →

Related mods

Dirt2Path [FORGE] Dirt2Path [FORGE] Mod · 11.2M downloads Ocean Floor - Clay Sand and Dirt Ocean Floor - Clay Sand and Dirt Mod · 9M downloads Path To Dirt Path To Dirt Mod · 2M downloads Dirty Lens Dirty Lens Mod · 1.5M downloads
Explore the Minecraft Wiki
Blocks, items, mobs, biomes and game mechanics — all in one place.
Wiki home