Polymer

Polymer

763k Downloads

Default right click action of custom fishing rod does not work

themg95 opened this issue ยท 3 comments

commented

I have a PolymerItem that extends FishingRodItem but the default use action does not work, is this a polymer issue?

commented

Please show the code

commented
public class WebfishingRodItem extends FishingRodItem implements PolymerItem {
    public WebfishingRodItem(Settings settings) {
        super(settings);
    }

    @Override
    public Item getPolymerItem(ItemStack itemStack, @Nullable ServerPlayerEntity serverPlayerEntity) {
        return Items.FISHING_ROD;
    }

    @Override
    public int getEnchantability() {
        return 0;
    }
}
commented

Did you patch FishingBobberEntity? It might break due to it having hardcoded check for vanilla fishing rod