minecraft:should_despawn for you with a switch.Get GodCraftOverview
minecraft:should_despawn is an item component: it goes in the components object of a custom item. Controls whether the item disappears after lying on the ground for a while (about 5 minutes).
Fields
| Field | Type | Default | Description |
|---|---|---|---|
value | boolean | false | Set to false so a dropped item never vanishes on its own. |
Example
Inside the components object of BP/items/<name>.json (values are the defaults or placeholders):
BP/items/<name>.json
{
"minecraft:should_despawn": {
"value": false
}
}