So in my mod, I'm adding in rubies(yes very exciting). I first started it in 1.15.2, then decided to update it to 1.16.1. It works, but my ruby item @Override isn't working for isBeaonPayment.
Here's my code (I'm also kinda new to java):
package com.pickleface.ruby.items;
import net.minecraft.item.Item;
import net.minecraft.item.ItemGroup;
import net.minecraft.item.ItemStack;
public class RubyItem extends Item {
public RubyItem() {
super(new Item.Properties()
.group(ItemGroup.MATERIALS)
);
}
@Override
public boolean isBeaconPayment(ItemStack stack) {
return true;
}
}
The weird thing s is that this worked fine in 1.15.2 and it would work, but since I updated it, it stopped working. Any help is appreciated. Thanks.