PaperMC/patches
Bjarne Koll c908ebcbcb Add ZombieVillager conversion without entity event (#8111)
The ZombieVillager#setConversionTime API method internally calls
startConversion which always broadcasts the entity event responsible for
playing the respective sound at the beginning of a conversion.

This is not always wanted by developers when modifying already
converting zombies in particular.

This commit expands the ZombieVillager interface with another overload
of the setConversionTime method that also takes a simple toggle flag
indicating whether or not the entity event should be published to the
world.
2022-07-07 23:43:28 +02:00
..
api Add ZombieVillager conversion without entity event (#8111) 2022-07-07 23:43:28 +02:00
server Add ZombieVillager conversion without entity event (#8111) 2022-07-07 23:43:28 +02:00