Add extra ender pearl drop to endermen
This commit is contained in:
parent
21569fc171
commit
58232e8d7e
1 changed files with 2 additions and 0 deletions
|
|
@ -92,6 +92,8 @@ onEvent('entity.drops', event => {
|
|||
}
|
||||
|
||||
const comp = entity.minecraftEntity.getPersistentData();
|
||||
// Always add an extra enderpearl because they're rare a.f.
|
||||
event.addDrop(Item.of('1x minecraft:ender_pearl'));
|
||||
const isChallengerMob = comp.func_74764_b('challenger_mob_data'); // contains()
|
||||
if (isChallengerMob) {
|
||||
event.addDrop(Item.of('1x powah:ender_core'));
|
||||
|
|
|
|||
Loading…
Reference in a new issue