Easy Mob Farm

Easy Mob Farm

160k Downloads

Nether Stars drops

x-j0nnay-x opened this issue ยท 5 comments

commented

hey i was just wondering if its possible to add wither drops?

commented

this seems to have worked, this also means that it does not always drop the star the value can change this way it seems balanced

commented

so i added to the commonconfig in your code
builder.push("Wither Drop Settings");
WitherDropStar = builder.comment("Enable/Disable Wither drops.")
.define("WitherDropsStar", false);
builder.pop();

commented

added this to Lootmanager
// Wither Support.
if (Boolean.TRUE.equals(filteredLootDrops.isEmpty() && COMMON.WitherDropStar.get())
&& mobType.equals(BossMonster.WITHER) && random.nextInt(9) == 0){

  filteredLootDrops.add(new ItemStack(Items.NETHER_STAR));
}
commented

Thanks for the feedback and the example. I you want, you could create a PR (Pull Request) for this.
Otherwise I'm happy to implement this in the next update.

commented

not good at doing the pull requests