Initial commit
This commit is contained in:
53
data/minecraft/loot_tables/blocks/stone.json
Normal file
53
data/minecraft/loot_tables/blocks/stone.json
Normal 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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
80
data/minecraft/loot_tables/entities/creeper.json
Normal file
80
data/minecraft/loot_tables/entities/creeper.json
Normal 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"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
9
data/minecraft/tags/functions/load.json
Normal file
9
data/minecraft/tags/functions/load.json
Normal file
@ -0,0 +1,9 @@
|
||||
{
|
||||
"values": [
|
||||
"malloc:ticks/load",
|
||||
"malloc:ticks/tick",
|
||||
"malloc:ticks/on_countdown",
|
||||
"malloc:fx/load",
|
||||
"malloc:fx/tick"
|
||||
]
|
||||
}
|
Reference in New Issue
Block a user