Initial commit

This commit is contained in:
2022-09-10 14:28:27 +02:00
commit c13c4bbd85
34 changed files with 422 additions and 0 deletions

View File

@ -0,0 +1,53 @@
{
"type": "minecraft:block",
"pools": [
{
"rolls": 1,
"bonus_rolls": 0,
"entries": [
{
"type": "minecraft:alternatives",
"children": [
{
"type": "minecraft:item",
"name": "minecraft:stone",
"conditions": [
{
"condition": "minecraft:match_tool",
"predicate": {
"enchantments": [
{
"enchantment": "minecraft:silk_touch",
"levels": {
"min": 1
}
}
]
}
}
]
},
{
"type": "minecraft:group",
"children": [
{
"type": "minecraft:loot_table",
"name": "malloc:items/grist_coin"
},
{
"type": "minecraft:item",
"name": "minecraft:cobblestone"
}
],
"conditions": [
{
"condition": "minecraft:survives_explosion"
}
]
}
]
}
]
}
]
}

View File

@ -0,0 +1,80 @@
{
"type": "minecraft:entity",
"pools": [
{
"rolls": 1,
"bonus_rolls": 0,
"entries": [
{
"type": "minecraft:item",
"name": "minecraft:gunpowder",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"type": "minecraft:uniform",
"min": 0,
"max": 2
},
"add": false
},
{
"function": "minecraft:looting_enchant",
"count": {
"type": "minecraft:uniform",
"min": 0,
"max": 1
}
}
]
},
{
"type": "minecraft:loot_table",
"name": "malloc:items/grist_coin",
"functions": [
{
"function": "minecraft:set_count",
"count": {
"min": 5,
"max": 15
}
},
{
"function": "minecraft:looting_enchant",
"count": {
"type": "minecraft:uniform",
"min": 5,
"max": 15
}
}
],
"conditions": [
{
"condition": "minecraft:killed_by_player"
}
]
}
]
},
{
"rolls": 1,
"bonus_rolls": 0,
"entries": [
{
"type": "minecraft:tag",
"name": "minecraft:creeper_drop_music_discs",
"expand": true
}
],
"conditions": [
{
"condition": "minecraft:entity_properties",
"entity": "killer",
"predicate": {
"type": "#minecraft:skeletons"
}
}
]
}
]
}