Skip to content

Commit 61dc7da

Browse files
committed
- Added behaviorpack.item.components.replace_block_ids_dont_match
1 parent 83e7f05 commit 61dc7da

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed
Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# Item - Components - Replace Block IDs Don't Match
2+
3+
`behaviorpack.item.components.replace_block_ids_dont_match`
4+
5+
`minecraft:block_placer`'s block value must match the item's identifier when `replace_block_item` is true
6+
7+
```json
8+
{
9+
"format_version": "1.21.50",
10+
"minecraft:item": {
11+
"description": {
12+
"identifier": "test:block" // Needs to be the same as
13+
},
14+
"components": {
15+
"minecraft:block_placer": {
16+
"block": "test:block", // This value
17+
"replace_block_item": true // When this is true
18+
}
19+
}
20+
}
21+
}
22+
```

0 commit comments

Comments
 (0)