minecraft:leashable for you with a switch.Get GodCraftOverview
minecraft:leashable is a block component: it goes in the components object of a custom block. Lets players tie a lead to the block, like a fence post.
Fields
| Field | Type | Default | Description |
|---|---|---|---|
offset | vec3 | [0,0.25,0] | Where the lead knot sits, measured from the center of the block. |
Example
Inside the components object of BP/blocks/<name>.json (values are the defaults or placeholders):
BP/blocks/<name>.json
{
"minecraft:leashable": {
"offset": [
0,
0.25,
0
]
}
}