fix doubled meat yield of mars ranchable animals
This commit is contained in:
parent
0c1e4f577c
commit
46eef4b0fe
4 changed files with 86 additions and 30 deletions
|
|
@ -17,8 +17,8 @@
|
|||
"min": 4,
|
||||
"max": {
|
||||
"type": "minecraft:uniform",
|
||||
"min": 12,
|
||||
"max": 18
|
||||
"min": 8,
|
||||
"max": 12
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
|
|||
80
kubejs/data/tfg/loot_tables/entities/wraptor.json
Normal file
80
kubejs/data/tfg/loot_tables/entities/wraptor.json
Normal file
|
|
@ -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"
|
||||
}
|
||||
]
|
||||
}
|
||||
]
|
||||
}
|
||||
|
|
@ -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'])
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue