Skip to main content

Block component reference (4/8)

This page excerpts the reference from MS Learn (MicrosoftDocs/minecraft-creator a9fd1c0, CC BY 4.0). Relative links in the original are removed.

(Source: ms-learn, creator/Reference/Content/BlockReference/Examples/BlockComponents/minecraftBlock_loot.md)

Block Components Documentation - minecraft:loot​

Specifies the path to the loot table that determines what items are dropped when the block is destroyed. The path is relative to the behavior pack's root folder (e.g., 'loot_tables/blocks/my_block.json'). Path string is limited to 256 characters. If this component is omitted, the block drops itself.

Alternate Simple Representations​

This item can also be represented as a String.

Samples​

Block Fabricator​

"minecraft:loot": "loot_tables/mikeamm/gray_wave/fabricator.loot.json"

Block Gray Ore​

"minecraft:loot": "loot_tables/mikeamm/gray_wave/gray_ore.loot.json"

Block Orange Ore​

"minecraft:loot": "loot_tables/blocks/orange_ore.json"

Apple Block​

"minecraft:loot": "loot_tables/blocks/apple_block.json"

(Source: ms-learn, creator/Reference/Content/BlockReference/Examples/BlockComponents/minecraftBlock_map_color.md)

Block Components Documentation - minecraft:map_color​

Sets the color of the block when rendered to a map. If this component is omitted, the block will not show up on the map.

Map Color Properties​

NameDefault ValueTypeDescription
colornot setStringThe color is represented as a hex value in the format "#RRGGBB". May also be expressed as an array of [R, G, B] from 0 to 255.
tint_methodnot setStringTint multiplier applied to the map color.
tint_method​

Tint multiplier applied to the map color. Typically references the biome's "rain" and "temperature" to compute the tint. Supported values: "none", "default_foliage", "birch_foliage", "evergreen_foliage", "dry_foliage", "grass", "water". This item requires a format version of at least 1.21.80.

Samples​

Block Fabricator​

"minecraft:map_color": "#5f4a2b"

Block Gray Ore​

"minecraft:map_color": "#ffcd17"

Block Palm Leave​

"minecraft:map_color": "#639f28"

Block Palm Leave Corner​

"minecraft:map_color": "#495f2b"

Block Palm Trunk​

"minecraft:map_color": "#b9ae9d"

Block White Sand​

"minecraft:map_color": "#fdfdfd"

Block Leaf Pile​

"minecraft:map_color": "#ffffff"

Block Orange Ore​

"minecraft:map_color": "#a69787"

Apple Block​

"minecraft:map_color": "#f30000"

Block Black Concrete Double Slab​

"minecraft:map_color": "#191919"

Block Black Wool Double Slab​

"minecraft:map_color": "#1D1D21"

(Source: ms-learn, creator/Reference/Content/BlockReference/Examples/BlockComponents/minecraftBlock_material_instances.md)

Block Components Documentation - minecraft:material_instances​

The material instances for a block. Maps face or material_instance names in a geometry file to an actual material instance. Material instance can either be a full material instance or a name to another already defined instance. Limited to 64 instances.

[!Note] From 1.21.80 onward, when using a minecraft:geometry component or minecraft:material_instances component, you must include both.

[!Note] In format version 1.26.20, ambient_occlusion no longer accepts boolean values — it must be a float between 0.0 and 10.0 inclusive, and defaults to 1.0 when omitted.

[!Note] This item requires a format version of at least 1.19.40.

Material Instances Properties​

NameDefault ValueTypeDescriptionExample Values
* (Material Instance Face)not set* itemBlock Chiseled Packed Ice: {"texture":"chiseled_packed_ice","render_method":"opaque"}, Block Chiseled Soulshale: {"texture":"chiseled_soulshale","render_method":"opaque"}, Block Packed Ice Bricks: {"texture":"packed_ice_bricks","render_method":"opaque"}
* (as String)not setString
down (Material Instance Face)not setDown item
down (as String)not setString
east (Material Instance Face)not setEast item
east (as String)not setString
north (Material Instance Face)not setNorth item
north (as String)not setString
south (Material Instance Face)not setSouth item
south (as String)not setString
up (Material Instance Face)not setUp item
up (as String)not setString
west (Material Instance Face)not setWest item
west (as String)not setString
Material Instance Face​

Configures how a block face renders its texture, including transparency, culling, and lighting. Set the texture reference, choose render method (opaque, alpha_test, blend, or double_sided), control face culling, and configure ambient occlusion. Enables glass-like transparency, leaf rendering, and custom visual effects.

Material Instance Face Properties​

JSON path: *

NameDefault ValueTypeDescriptionExample Values
ambient_occlusionnot setDecimal numberIf this material has ambient occlusion applied when lighting, shadows will be created around and underneath the block. Decimal value controls exponent applied to a value after lighting.
face_dimmingnot setStringThis material should be dimmed by the direction its facing.Blue Bubble Fish: true
isotropicfalseBoolean true/falseShould the faces that this material is applied to randomize their UVs? This item requires a format version of at least 1.21.80.
render_methodnot setRender Method choicesThe render method to use.Blue Bubble Fish: "blend", Block Orange Ore: "opaque", Block Frond Top: "alpha_test"
texturenot setStringTexture name for the material.Blue Bubble Fish: "bubble_fish_blue", California Roll: "sushi_wrap", Green Bubble Fish: "bubble_fish_green"
tint_methodfalseBoolean true/falseTint multiplied to the color.

tint_method​

Tint multiplied to the color. Tint method logic varies, but often refers to the "rain" and "temperature" of the biome the block is placed in to compute the tint. Supported tint methods are "none", "default_foliage", "birch_foliage", "evergreen_foliage", "dry_foliage", "grass" and "water" This item requires a format version of at least 1.21.80.

Render Method choices​
ValueTitleDescription
opaqueOpaqueUsed for a regular block texture without an alpha layer. Does not allow for transparency or translucency
double_sidedDouble SidedUsed for completely disabling backface culling.
blendBlendUsed for a block like stained glass. Allows for transparency and translucency (slightly transparent textures).
alpha_testAlpha TestUsed for a block like the monster spawner. Does not allow for translucency, only fully opaque or fully transparent textures. Also disabled backface culling.
alpha_test_single_sidedAlpha Test (Single Sided)Used for a block like the (unstained) glass. Does not allow for translucency, only fully opaque or fully transparent textures. Also enables backface culling.
blend_to_opaqueBlend to OpaqueWill blend like stained glass in the near render and turn opaque on the far render.
alpha_test_to_opaqueAlpha Test to OpaqueUsed for a block like the leaves. Does not allow for translucency, only fully opaque or fully transparent textures in the near render and turn only opaque on the far render. Also disabled backface culling.
alpha_test_single_sided_to_opaqueAlpha Test (Single Sided) to OpaqueUsed for a block like the sugar cane. Does not allow for translucency, only fully opaque or fully transparent textures in the near render and turn only opaque on the far render. Also enables backface culling.

Samples​

Block Fabricator​

"minecraft:material_instances": {
"*": {
"texture": "mikeamm_gwve_fabricator",
"render_method": "alpha_test",
"ambient_occlusion": 1
}
}

Block Gray Ore​

"minecraft:material_instances": {
"*": {
"texture": "mikeamm_gwve_gray_ore",
"render_method": "alpha_test",
"face_dimming": false
}
}

Block Frond Top​

"minecraft:material_instances": {
"*": {
"texture": "frond_top",
"render_method": "alpha_test"
}
}

Block Palm Leave​

"minecraft:material_instances": {
"*": {
"texture": "palm_leave",
"render_method": "alpha_test"
}
}

Block White Sand​

"minecraft:material_instances": {
"*": {
"texture": "white_sand",
"render_method": "alpha_test"
}
}

Block Leaf Pile​

"minecraft:material_instances": {
"*": {
"texture": "leaf_pile",
"render_method": "alpha_test",
"tint_method": "default_foliage"
}
}

Tuna Roll​

"minecraft:material_instances": {
"north": "sushi_side",
"south": "sushi_side",
"*": {
"texture": "sushi_wrap"
},
"sushi_side": {
"texture": "tuna_roll"
}
}

Blue Bubble Fish​

"minecraft:material_instances": {
"*": {
"texture": "bubble_fish_blue",
"render_method": "blend",
"face_dimming": true,
"ambient_occlusion": 1
}
}

Block Chiseled Packed Ice​

"minecraft:material_instances": {
"*": {
"texture": "chiseled_packed_ice",
"render_method": "opaque"
}
}

Block Chiseled Soulshale​

"minecraft:material_instances": {
"*": {
"texture": "chiseled_soulshale",
"render_method": "opaque"
}
}

Block Packed Ice Bricks​

"minecraft:material_instances": {
"*": {
"texture": "packed_ice_bricks",
"render_method": "opaque"
}
}

Block Polished Calcite​

"minecraft:material_instances": {
"*": {
"texture": "polished_calcite",
"render_method": "opaque"
}
}

(Source: ms-learn, creator/Reference/Content/BlockReference/Examples/BlockComponents/minecraftBlock_movable.md)

Block Components Documentation - minecraft:movable​

Defines whether the block can be pushed or pulled by a piston. Use movement_type to declare the block as push_pull, push, popped, or immovable; use sticky to opt into same-block grouping similar to slime blocks.

[!Note] This item requires a format version of at least 1.21.100.

Movable Properties​

NameDefault ValueTypeDescriptionExample Values
movement_typepush_pullMovement Type choicesHow the block reacts to being pushed by another block like a piston.Block Red Shrub: "popped"
stickynoneSticky choicesHow the block should handle adjacent blocks around it when being pushed by another block like a piston.
movement_type​

How the block reacts to being pushed by another block like a piston. The options are: "push_pull" - The default value for this field. The block will be pushed and pulled by a piston. "push" - The block will only be pulled by a piston and will ignore a sticky piston. "popped" - The block is destroyed when moved by a piston. "immovable" - The block is unaffected by a piston.

sticky​

How the block should handle adjacent blocks around it when being pushed by another block like a piston. The options are: "same" - Adjacent blocks to this block will be moved when moved. This excludes other blocks with the "same" property. This will only work with the movement_type: "push_pull". "none" - The default and will not move adjacent blocks.

Movement Type choices​
ValueTitleDescription
immovableImmovable
poppedPopped
pushPush
push_pullPush pull
Sticky choices​
ValueTitleDescription
noneNone
sameSame

Samples​

Block Red Shrub​

"minecraft:movable": {
"movement_type": "popped"
}

(Source: ms-learn, creator/Reference/Content/BlockReference/Examples/BlockComponents/minecraftBlock_placement_filter.md)

Block Components Documentation - minecraft:placement_filter​

Sets rules for under what conditions the block can be placed and survive. If the placement conditions are not met, the block cannot be placed. If the block is already placed and the conditions become invalid (e.g., the supporting block is removed), the block will pop off and drop as an item. If the blocks in the filter are liquid blocks, ensure that an item block is created with a 'liquid_clipped' component set to 'true' and a 'block_placer' component with 'replace_block_item' set to 'true'.

[!Note] Fixed in 1.26.10: minecraft:placement_filter and minecraft:block_placer now correctly support placing on liquid blocks when the item uses liquid_clipped.

[!Note] This item requires a format version of at least 1.19.60.

Block Placement Filter Properties​

NameDefault ValueTypeDescription
conditions[]Array of Conditions itemsList of conditions where the block can be placed/survive Value must have at most 64 items.
Block Placement Condition​

Block Placement Condition Properties​

JSON path: conditions

NameDefault ValueTypeDescription
allowed_faces[down, up, north, south, west, east]ObjectList of any of the following strings describing which face(s) this block can be placed on
block_filter (Block Filter)[]Array of Block Filter itemsList of blocks that this block can be placed against in the "allowed_faces" direction.
block_filter (as String)not setString
block_filter (as Object)not setObject

block_filter​

List of blocks that this block can be placed against in the "allowed_faces" direction. Each block in this list can either be specified as a String (block name) or as a BlockDescriptor. Value must have at most 64 items.

Block Filter​

Block Filter Properties​

JSON path: conditions > block_filter

NameDefault ValueTypeDescription
nameString
states{}Integer number
states (as String)not setString
states (as Boolean true/false)not setBoolean true/false
tagsString

(Source: ms-learn, creator/Reference/Content/BlockReference/Examples/BlockComponents/minecraftBlock_precipitation_interactions.md)

Block Components Documentation - minecraft:precipitation_interactions​

Determines interactions the block will have with different precipitations. Three possible values: obrain, obstruct_rain_accumulate_snow and none.

[!Note] In format version 1.26.30, the snow_log_no_collision value for precipitation_behavior was renamed to snowlogging (the legacy value still parses but is deprecated). Snow logging itself requires format_version 1.21.120 or newer.

[!Note] The snow_log_no_collision value for precipitation_behavior (which lets custom blocks be covered by snow) was first added in 1.26.20 under the Upcoming Creator Features experiment, then renamed to snowlogging in 1.26.30.

[!Note] This item requires a format version of at least 1.21.120.

Block Precipitation Interactions Properties​

NameDefault ValueTypeDescriptionExample Values
precipitation_behavioraccumulate snowPrecipitation Behavior choicesWhat behavior should the block have. Possible values: obrain, obstruct_rain_accumulate_snow, snowlogging, and noneBlock Red Shrub: "snowlogging", Shelf Mushroom Block: "none"
Precipitation Behavior choices​
ValueTitleDescription
noneNone
obstruct_rainObstruct rain
obstruct_rain_accumulate_snowObstruct rain accumulate snow
snowloggingSnowlogging

Samples​

Block Red Shrub​

"minecraft:precipitation_interactions": {
"precipitation_behavior": "snowlogging"
}

Shelf Mushroom Block​

"minecraft:precipitation_interactions": {
"precipitation_behavior": "none"
}
Sources
idSourceLicenseCommitAccessed
ms-learnMinecraft Creator documentation (Microsoft Learn)CC BY 4.0 (documentation), MIT (code)a9fd1c02026-11-13