red elk now drop more meat when killed with a butchery knife, and also they drop bladders rarely (10%, same as deer) #2778
This commit is contained in:
parent
bd1efd7d40
commit
766b2f1948
1 changed files with 12 additions and 0 deletions
12
kubejs/server_scripts/beneath/loot.js
Normal file
12
kubejs/server_scripts/beneath/loot.js
Normal file
|
|
@ -0,0 +1,12 @@
|
|||
// priority: 0
|
||||
"use strict";
|
||||
|
||||
function registerBeneathLoots(event) {
|
||||
event.addEntityLootModifier('beneath:red_elk')
|
||||
.addLoot(LootEntry.of('waterflasks:bladder').when(c => c.randomChance(0.1)))
|
||||
|
||||
event.addEntityLootModifier('beneath:red_elk')
|
||||
.matchMainHand('#forge:tools/butchery_knives')
|
||||
.addWeightedLoot([2, 4], ['tfc:food/venison'])
|
||||
.addWeightedLoot([1, 2], ['tfc:blubber'])
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue