Minecraft:Replace Single Block
From SAS Gaming Wiki
More actions
Template:Exclusive Template:Stub
Replace single block is a technical Minecraft:feature that replaces a single block using a list of targets and states. It is not used by the game currently.
Data values
ID
Config
<section begin="config"/>
- Template:Nbt
- Template:Nbt (Required, but can be empty) A list of targets.
- Template:Nbt A target.
- Template:Nbt A rule test to check the block to replace.
- Template:Nbt The block to use.
- Template:Nbt A target.
- Template:Nbt (Required, but can be empty) A list of targets.
<section end="config"/>
Template:Collapse <syntaxhighlight lang="json"> {
"type": "minecraft:replace_single_block",
"config": {
"targets": [
{
"state": {
"Name": "minecraft:diamond_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:stone_ore_replaceables"
}
},
{
"state": {
"Name": "minecraft:deepslate_diamond_ore"
},
"target": {
"predicate_type": "minecraft:tag_match",
"tag": "minecraft:deepslate_ore_replaceables"
}
}
]
}
} </syntaxhighlight> Template:Collapse
History
Template:Navbox generated features
Minecraft:fr:Remplacer un seul bloc Minecraft:pt:Substituir bloco único