1.17.x Glass Bottle Filled Event?

Discussion in 'Spigot Plugin Development' started by Fliz, Jul 12, 2021.

  1. Is there any way to detect when player filled glass bottle?
  2. I don't think so but you could listen to the PlayerInteractEvent and in your listener check for the following things
    - Is a rightclick
    - Player is holding an empty bottle in his hand
    - Player is looking at a valid source for filling bottles (water and filled cauldrons (I think?))
  3. And Dragon Breath
  4. ty, i'll try.