Minecraft Modpack
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 

21 lines
869 B

// priority: 0
onEvent("lootjs", event => {
let creepers = [
"jungle", "bamboo", "desert", "badlands", "hills", "savannah", "mushroom",
"swamp", "dripstone", "cave", "dark_oak", "spruce", "beach", "snowy",
].map(variant => `creeperoverhaul:${variant}_creeper`);
event.addEntityLootModifier(creepers)
.killedByPlayer()
.customCondition({ "condition": "reliquary:random_chance_looting_severing",
"chance": 0.02, "looting_multiplier": 0.03, "severing_multiplier": 0.1 })
.addLoot("reliquary:catalyzing_gland");
event.addEntityLootModifier(creepers)
.killedByPlayer()
.matchEntity(entity => entity.nbt({ powered: 1 }))
.customCondition({ "condition": "reliquary:random_chance_looting_severing",
"chance": 0.03, "looting_multiplier": 0.05, "severing_multiplier": 0.15 })
.addLoot("reliquary:eye_of_the_storm");
});