21 lines
No EOL
613 B
JavaScript
21 lines
No EOL
613 B
JavaScript
// priority: 0
|
|
"use strict";
|
|
|
|
function registerAdAstraLoots(event) {
|
|
|
|
event.addEntityLootModifier('ad_astra:corrupted_lunarian')
|
|
.addWeightedLoot([1, 2], ['minecraft:rotten_flesh'])
|
|
.addWeightedLoot([4, 6], ['minecraft:bone'])
|
|
|
|
|
|
event.addEntityLootModifier('ad_astra:star_crawler')
|
|
.addWeightedLoot([5, 8], ['tfg:food/raw_crawlermari'])
|
|
|
|
event.addEntityLootModifier('ad_astra:star_crawler')
|
|
.matchMainHand('#forge:tools/butchery_knives')
|
|
.addWeightedLoot([2, 4], ['tfg:food/raw_crawlermari'])
|
|
|
|
|
|
event.addEntityLootModifier('ad_astra:martian_raptor')
|
|
.addWeightedLoot([2, 4], ['minecraft:bone'])
|
|
} |