
Fixed the LootTable generator so that it actually dropped the correct number of crystals on breaking.
173 lines
3.9 KiB
JSON
173 lines
3.9 KiB
JSON
{
|
|
"type": "minecraft:block",
|
|
"pools": [
|
|
{
|
|
"rolls": 1.0,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:block_state_property",
|
|
"block": "bloodmagic:steadfastdemoncrystal",
|
|
"properties": {
|
|
"age": "0"
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"function": "minecraft:set_count",
|
|
"count": 1
|
|
}
|
|
],
|
|
"name": "bloodmagic:steadfastcrystal"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"rolls": 1.0,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:block_state_property",
|
|
"block": "bloodmagic:steadfastdemoncrystal",
|
|
"properties": {
|
|
"age": "1"
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"function": "minecraft:set_count",
|
|
"count": 2
|
|
}
|
|
],
|
|
"name": "bloodmagic:steadfastcrystal"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"rolls": 1.0,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:block_state_property",
|
|
"block": "bloodmagic:steadfastdemoncrystal",
|
|
"properties": {
|
|
"age": "2"
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"function": "minecraft:set_count",
|
|
"count": 3
|
|
}
|
|
],
|
|
"name": "bloodmagic:steadfastcrystal"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"rolls": 1.0,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:block_state_property",
|
|
"block": "bloodmagic:steadfastdemoncrystal",
|
|
"properties": {
|
|
"age": "3"
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"function": "minecraft:set_count",
|
|
"count": 4
|
|
}
|
|
],
|
|
"name": "bloodmagic:steadfastcrystal"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"rolls": 1.0,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:block_state_property",
|
|
"block": "bloodmagic:steadfastdemoncrystal",
|
|
"properties": {
|
|
"age": "4"
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"function": "minecraft:set_count",
|
|
"count": 5
|
|
}
|
|
],
|
|
"name": "bloodmagic:steadfastcrystal"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"rolls": 1.0,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:block_state_property",
|
|
"block": "bloodmagic:steadfastdemoncrystal",
|
|
"properties": {
|
|
"age": "5"
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"function": "minecraft:set_count",
|
|
"count": 6
|
|
}
|
|
],
|
|
"name": "bloodmagic:steadfastcrystal"
|
|
}
|
|
]
|
|
},
|
|
{
|
|
"rolls": 1.0,
|
|
"entries": [
|
|
{
|
|
"type": "minecraft:item",
|
|
"conditions": [
|
|
{
|
|
"condition": "minecraft:block_state_property",
|
|
"block": "bloodmagic:steadfastdemoncrystal",
|
|
"properties": {
|
|
"age": "6"
|
|
}
|
|
}
|
|
],
|
|
"functions": [
|
|
{
|
|
"function": "minecraft:set_count",
|
|
"count": 7
|
|
}
|
|
],
|
|
"name": "bloodmagic:steadfastcrystal"
|
|
}
|
|
]
|
|
}
|
|
]
|
|
} |