diff --git a/data/minecraft/loot_tables/entities/creeper.json b/data/minecraft/loot_tables/entities/creeper.json index 5d96066..8fd934a 100644 --- a/data/minecraft/loot_tables/entities/creeper.json +++ b/data/minecraft/loot_tables/entities/creeper.json @@ -35,16 +35,16 @@ { "function": "minecraft:set_count", "count": { - "min": 5, - "max": 15 + "min": 50, + "max": 150 } }, { "function": "minecraft:looting_enchant", "count": { "type": "minecraft:uniform", - "min": 5, - "max": 15 + "min": 50, + "max": 150 } } ], diff --git a/data/minecraft/loot_tables/entities/enderman.json b/data/minecraft/loot_tables/entities/enderman.json new file mode 100644 index 0000000..ef38e89 --- /dev/null +++ b/data/minecraft/loot_tables/entities/enderman.json @@ -0,0 +1,52 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:ender_pearl", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": 0, + "max": 1 + }, + "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": 25, + "max": 50 + } + } + ], + "conditions": [ + { + "condition": "minecraft:killed_by_player" + } + ] + } + ] + } + ] +} diff --git a/data/minecraft/loot_tables/entities/skeleton.json b/data/minecraft/loot_tables/entities/skeleton.json new file mode 100644 index 0000000..6fac8c2 --- /dev/null +++ b/data/minecraft/loot_tables/entities/skeleton.json @@ -0,0 +1,83 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:arrow", + "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:item", + "name": "minecraft:bone", + "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": 75, + "max": 150 + } + }, + { + "function": "minecraft:looting_enchant", + "count": { + "type": "minecraft:uniform", + "min": 75, + "max": 150 + } + } + ], + "conditions": [ + { + "condition": "minecraft:killed_by_player" + } + ] + } + ] + } + ] +} diff --git a/data/minecraft/loot_tables/entities/spider.json b/data/minecraft/loot_tables/entities/spider.json new file mode 100644 index 0000000..730f32f --- /dev/null +++ b/data/minecraft/loot_tables/entities/spider.json @@ -0,0 +1,86 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:string", + "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": 35, + "max": 70 + } + } + ], + "conditions": [ + { + "condition": "minecraft:killed_by_player" + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:spider_eye", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "minecraft:uniform", + "min": -1, + "max": 1 + }, + "add": false + }, + { + "function": "minecraft:looting_enchant", + "count": { + "type": "minecraft:uniform", + "min": 0, + "max": 1 + } + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:killed_by_player" + } + ] + } + ] +} diff --git a/data/minecraft/loot_tables/entities/zombie.json b/data/minecraft/loot_tables/entities/zombie.json new file mode 100644 index 0000000..f70bdad --- /dev/null +++ b/data/minecraft/loot_tables/entities/zombie.json @@ -0,0 +1,96 @@ +{ + "type": "minecraft:entity", + "pools": [ + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:rotten_flesh", + "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": 25, + "max": 50 + } + } + ], + "conditions": [ + { + "condition": "minecraft:killed_by_player" + } + ] + } + ] + }, + { + "rolls": 1, + "bonus_rolls": 0, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:iron_ingot" + }, + { + "type": "minecraft:item", + "name": "minecraft:carrot" + }, + { + "type": "minecraft:item", + "name": "minecraft:potato", + "functions": [ + { + "function": "minecraft:furnace_smelt", + "conditions": [ + { + "condition": "minecraft:entity_properties", + "entity": "this", + "predicate": { + "flags": { + "is_on_fire": true + } + } + } + ] + } + ] + } + ], + "conditions": [ + { + "condition": "minecraft:killed_by_player" + }, + { + "condition": "minecraft:random_chance_with_looting", + "chance": 0.025, + "looting_multiplier": 0.01 + } + ] + } + ] +}