PaperMC/patches
Bjarne Koll 95ac8745f0
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 22:43:28 +01:00
..
api Add ZombieVillager conversion without entity event (#8111) 2022-07-07 22:43:28 +01:00
removed Readd mc-4 fix 2022-06-11 10:41:59 +02:00
server Add ZombieVillager conversion without entity event (#8111) 2022-07-07 22:43:28 +01:00