diff --git a/kubejs/data/tfg/loot_tables/entities/glacian_ram.json b/kubejs/data/tfg/loot_tables/entities/glacian_ram.json index 8c4311fb2..7ac353cf7 100644 --- a/kubejs/data/tfg/loot_tables/entities/glacian_ram.json +++ b/kubejs/data/tfg/loot_tables/entities/glacian_ram.json @@ -17,8 +17,8 @@ "min": 4, "max": { "type": "minecraft:uniform", - "min": 12, - "max": 18 + "min": 8, + "max": 12 } } } diff --git a/kubejs/data/tfg/loot_tables/entities/sniffer.json b/kubejs/data/tfg/loot_tables/entities/sniffer.json index f2e4f9c6c..9a73b5f54 100644 --- a/kubejs/data/tfg/loot_tables/entities/sniffer.json +++ b/kubejs/data/tfg/loot_tables/entities/sniffer.json @@ -14,7 +14,7 @@ "function": "minecraft:set_count", "count": { "type": "tfc:animal_yield", - "min": 4, + "min": 6, "max": { "type": "minecraft:uniform", "min": 12, @@ -37,8 +37,8 @@ { "function": "minecraft:set_count", "count": { - "min": 1, - "max": 3, + "min": 7, + "max": 8, "type": "minecraft:uniform" } } diff --git a/kubejs/data/tfg/loot_tables/entities/wraptor.json b/kubejs/data/tfg/loot_tables/entities/wraptor.json new file mode 100644 index 000000000..02f50535c --- /dev/null +++ b/kubejs/data/tfg/loot_tables/entities/wraptor.json @@ -0,0 +1,80 @@ +{ + "__comment__": "This file was automatically created by mcresources", + "type": "minecraft:entity", + "pools": [ + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "tfg:food/raw_wraptor", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "type": "tfc:animal_yield", + "min": 2, + "max": { + "type": "minecraft:uniform", + "min": 4, + "max": 7 + } + } + } + ] + } + ] + }, + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:bone", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 2, + "max": 3, + "type": "minecraft:uniform" + } + } + ] + } + ] + }, + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "minecraft:feather", + "functions": [ + { + "function": "minecraft:set_count", + "count": { + "min": 3, + "max": 5, + "type": "minecraft:uniform" + } + } + ] + } + ] + }, + { + "name": "loot_pool", + "rolls": 1, + "entries": [ + { + "type": "minecraft:item", + "name": "tfc:small_raw_hide" + } + ] + } + ] +} \ No newline at end of file diff --git a/kubejs/server_scripts/tfg/loot.js b/kubejs/server_scripts/tfg/loot.js index 59a0f4c0d..bde84e8cc 100644 --- a/kubejs/server_scripts/tfg/loot.js +++ b/kubejs/server_scripts/tfg/loot.js @@ -152,44 +152,20 @@ function registerTFGLoots(event) { .addLoot(id) }) - // Animal drops - - event.addEntityLootModifier('tfg:glacian_ram') - .addLoot('tfc:small_sheepskin_hide') - .addWeightedLoot([1, 2], ['minecraft:bone']) - .addWeightedLoot([8, 12], ['tfg:food/raw_glacian_mutton']) + // Bonus animal drops with butchery knives event.addEntityLootModifier('tfg:glacian_ram') .matchMainHand('#forge:tools/butchery_knives') .addWeightedLoot([4, 6], ['tfg:food/raw_glacian_mutton']) - - - event.addEntityLootModifier('tfg:moon_rabbit') - .addLoot('tfc:small_raw_hide') - .addWeightedLoot([2, 3], ['minecraft:bone']) - .addLoot('tfg:food/raw_moon_rabbit') event.addEntityLootModifier('tfg:moon_rabbit') .matchMainHand('#forge:tools/butchery_knives') .addWeightedLoot([1, 2], ['tfg:food/raw_moon_rabbit']) - - event.addEntityLootModifier('tfg:sniffer') - .addLoot('tfc:large_raw_hide') - .addWeightedLoot([5, 8], ['minecraft:bone']) - .addWeightedLoot([16, 20], ['tfg:food/raw_sniffer_beef']) - event.addEntityLootModifier('tfg:sniffer') .matchMainHand('#forge:tools/butchery_knives') .addWeightedLoot([8, 10], ['tfg:food/raw_sniffer_beef']) - - event.addEntityLootModifier('tfg:wraptor') - .addLoot('tfc:small_raw_hide') - .addWeightedLoot([2, 3], ['minecraft:bone']) - .addWeightedLoot([2, 4], ['minecraft:feather']) - .addWeightedLoot([4, 7], ['tfg:food/raw_wraptor']) - event.addEntityLootModifier('tfg:wraptor') .matchMainHand('#forge:tools/butchery_knives') .addWeightedLoot([2, 3], ['tfg:food/raw_wraptor'])