-
Notifications
You must be signed in to change notification settings - Fork 2
Add Item Lootmodifier
benbenlaw edited this page Feb 28, 2025
·
1 revision
A simple way to add loot to another block using loot modifiers. This needs to be inside the datapack "name/loot_modifiers" folder
Example adds canola seeds to short grass
{
"type": "bblcore:add_item",
"conditions": [
{
"chance": 0.3,
"condition": "minecraft:random_chance"
},
{
"block": "minecraft:short_grass",
"condition": "minecraft:block_state_property"
}
],
"item": "actuallyadditions:canola_seeds",
"count": 1
}
```js