Tweaks to Ender Cores
This commit is contained in:
parent
1dabd3e368
commit
a06855bf63
3 changed files with 276 additions and 2 deletions
|
|
@ -92,8 +92,6 @@ 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