i have truly been getting owned by this endeavour and at this point am beginning to think i may have to go beyond kubejs and just write a mod so i can use mixins to do this.
before i do that though, i figured i'd ask if anyone else has any idea of how to accomplish this? merely adding the food component to a bucket item is not enough to make it edible, and i assume this is because buckets already have defined onRightClick behaviour.
i've been using the buckets from modern_industrialization for testing and they have no actual right click behavior because nearly none of the fluids are placeable, but they extend BucketItem which is what i think is the root of the issue.