mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-31 21:37:39 +01:00
#590: Add spawn and transform reasons for piglin zombification.
By: Nathat23 <nathat890@outlook.com>
This commit is contained in:
parent
2ae343b93f
commit
3df2b9e2ab
@ -173,6 +173,10 @@ public class CreatureSpawnEvent extends EntitySpawnEvent {
|
||||
* When a bee is released from a beehive/bee nest
|
||||
*/
|
||||
BEEHIVE,
|
||||
/**
|
||||
* When a piglin is converted to a zombified piglib.
|
||||
*/
|
||||
PIGLIN_ZOMBIFIED,
|
||||
/**
|
||||
* When a creature is spawned by plugins
|
||||
*/
|
||||
|
@ -89,7 +89,7 @@ public class EntityTransformEvent extends EntityEvent implements Cancellable {
|
||||
*/
|
||||
INFECTION,
|
||||
/**
|
||||
* When a entity drowns in water and a new entity spawns.
|
||||
* When an entity drowns in water and a new entity spawns.
|
||||
*/
|
||||
DROWNED,
|
||||
/**
|
||||
@ -104,6 +104,10 @@ public class EntityTransformEvent extends EntityEvent implements Cancellable {
|
||||
* When a slime splits into multiple smaller slimes.
|
||||
*/
|
||||
SPLIT,
|
||||
/**
|
||||
* When a piglin converts to a zombified piglin.
|
||||
*/
|
||||
PIGLIN_ZOMBIFIED,
|
||||
/**
|
||||
* When reason is unknown.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user