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:
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'])
|
||||
}
|
||||
Reference in New Issue
Block a user