Support other "buckets" with MilkJarBlock/CowJarBlock #729
Labels
compatibility
Issues related to compatibility with another mod
enhancement
New features or improvements to existing features
Various "buckets" (bucketlib buckets, Mekanism fluid tank in bucket mode, and in the near future teapots from SimplyTea, etc) are not able to use the milk jars.
The main problem is that MilkJarBlock::useItemOn() specifically checks for and returns Items.BUCKET and Items.MILK_BUCKET, and any other bucket-like items will be ignored.
I tried to use Balm's useFluidTank method instead of the bucket pickup/place logic in MilkJarBlock::useItemOn(), and it seemed to work fine for filling any fluid handling items (including vanilla buckets) in Forge 1.20 but is not working in Forge/Neoforge 1.21 for some reason.
The text was updated successfully, but these errors were encountered: