src/main/java/cech12/ceramicbucket/item/CeramicMilkBucketItem.java
@Override
    public @Nonnull ItemStack onItemUseFinish(ItemStack stack, World worldIn, @Nonnull LivingEntity entityLiving) {
        ItemStack bucket = super.onItemUseFinish(stack, worldIn, entityLiving);
        return bucket.getItem().equals(Items.BUCKET) ? new ItemStack(CeramicBucketItems.CERAMIC_BUCKET) : bucket;
    }
/**
     * Replace vanilla bucket with ceramic bucket after drinking.
     */
Replace vanilla bucket with ceramic bucket after drinking.
Replace vanilla bucket with ceramic bucket after drinking .
@Override
    public @Nonnull ItemStack onItemUseFinish(ItemStack stack, World worldIn, @Nonnull LivingEntity entityLiving) {
        ItemStack bucket = super.onItemUseFinish(stack, worldIn, entityLiving);
        return bucket.getItem().equals(Items.BUCKET) ? new ItemStack(CeramicBucketItems.CERAMIC_BUCKET) : bucket;
    }
@ Override public @ Nonnull ItemStack onItemUseFinish ( ItemStack stack , World worldIn , @ Nonnull LivingEntity entityLiving ) { ItemStack bucket = super . onItemUseFinish ( stack , worldIn , entityLiving ) ; return bucket . getItem ( ) . equals ( Items . BUCKET ) ? new ItemStack ( CeramicBucketItems . CERAMIC_BUCKET ) : bucket ; }
Replace vanilla bucket with ceramic bucket after drinking.
Replace vanilla bucket with ceramic bucket after drinking .