Yea I think I'm doing it wrong since they will pick it up and barter really fast and not drop anything, Here's the code
@Override
public boolean isPiglinCurrency(ItemStack stack) {
return true; }
Thank you for the help so far though.
Hi I'm quite new to java and I'd like to make it so my item can be used for Piglin bartering I've been trying to use the isPiglinCurrency property but the best I've been able to do is get then to pick it up and then they delete the item and give me nothing.
Sorry for any trouble