#Add Enchantment Tag related drop with LootTableEvents.MODIFY

2 messages · Page 1 of 1 (latest)

slim sentinel
#

'subPredicate(net.minecraft.predicate.item.ItemSubPredicate.Type<T>, T)' in 'net.minecraft.predicate.item.ItemPredicate.Builder' cannot be applied to '(net.minecraft.predicate.item.ItemSubPredicate.Type<net.minecraft.predicate.item.EnchantmentsPredicate.Enchantments>, java.util.List<net.minecraft.predicate.item.EnchantmentPredicate>)'

#

But I know that is possible to check using enchantment tags because that's what they use to drop cooked food or not when killing certain mobs with fire aspect.

I just need to figure out how to get this done through code