mirror of
https://github.com/Ellpeck/ActuallyAdditions.git
synced 2024-06-02 14:03:37 +02:00
68 lines
1.6 KiB
JSON
68 lines
1.6 KiB
JSON
{
|
|
"type": "minecraft:block",
|
|
"pools": [
|
|
{
|
|
"rolls": 1.0,
|
|
"bonus_rolls": 0.0,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:alternatives",
|
|
"children": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:block_state_property",
|
|
"block": "actuallyadditions:coffee",
|
|
"properties": {
|
|
"age": "7"
|
|
}
|
|
}
|
|
],
|
|
"name": "actuallyadditions:coffee_beans"
|
|
},
|
|
{
|
|
"type": "minecraft:item",
|
|
"name": "actuallyadditions:coffee_beans"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"rolls": 1.0,
|
|
"bonus_rolls": 0.0,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"functions": [
|
|
{
|
|
"function": "minecraft:apply_bonus",
|
|
"enchantment": "minecraft:fortune",
|
|
"formula": "minecraft:binomial_with_bonus_count",
|
|
"parameters": {
|
|
"extra": 3,
|
|
"probability": 0.5714286
|
|
}
|
|
}
|
|
],
|
|
"name": "actuallyadditions:coffee_beans"
|
|
}
|
|
],
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:block_state_property",
|
|
"block": "actuallyadditions:coffee",
|
|
"properties": {
|
|
"age": "7"
|
|
}
|
|
}
|
|
]
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"function": "minecraft:explosion_decay"
|
|
}
|
|
]
|
|
} |