if (polarBear != null) {
lp.addEntry(
new LootEntryItem(ModObject.itemSoulVial.getItemNN(), 1, 1, new LootFunction[] { setCount(1, 1), new SetNBT(NO_CONDITIONS, polarBear.toNbt(null)) },
new LootCondition[] { new RandomChance(.2F) }, "PolarBearSoulVial"));
if (shulker != null) {
lp.addEntry(
new LootEntryItem(ModObject.itemSoulVial.getItemNN(), 1, 1, new LootFunction[] { setCount(1, 1), new SetNBT(NO_CONDITIONS, shulker.toNbt(null)) },
new LootCondition[] { new RandomChance(.2F) }, "ShulkerSoulVial"));