Chickens, Parrots and Ghasts drops were incorrect.

This commit is contained in:
Brianna 2019-07-10 14:40:15 -04:00
parent d55e4d15f4
commit 33add5db02

View File

@ -236,6 +236,15 @@ public class LootManager {
.addOnlyDropFors(EntityType.PLAYER).build()));
}
if (plugin.isServerVersionAtLeast(ServerVersion.V1_12)) {
// Add Parrot.
addLootable(new Lootable(EntityType.PARROT,
new LootBuilder()
.setMaterial(Material.FEATHER)
.setMin(1)
.setMax(2).build()));
}
Loot fish1 = plugin.isServerVersionAtLeast(ServerVersion.V1_13) ? new LootBuilder()
.addChildLoot(new LootBuilder()
@ -790,8 +799,7 @@ public class LootManager {
.setMaterial(plugin.isServerVersionAtLeast(ServerVersion.V1_13)
? Material.GUNPOWDER : Material.valueOf("SULPHUR"))
.setMin(0)
.setMax(2)
.setBurnedMaterial(Material.COOKED_CHICKEN).build()));
.setMax(2).build()));
// Add Zombie Pigman
addLootable(new Lootable(EntityType.PIG_ZOMBIE,
@ -808,13 +816,6 @@ public class LootManager {
.setChance(2.5)
.addOnlyDropFors(EntityType.PLAYER).build()));
// Add Parrot.
addLootable(new Lootable(EntityType.CHICKEN,
new LootBuilder()
.setMaterial(Material.FEATHER)
.setMin(1)
.setMax(2).build()));
// Add Wither.
addLootable(new Lootable(EntityType.WITHER,
new LootBuilder()