mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-29 04:17:44 +01:00
#762: Add SpawnReason and TransformReason for Tadpole metamorphosis into Frog
By: Doc <nachito94@msn.com>
This commit is contained in:
parent
b1a97476be
commit
f786e8cff4
@ -185,6 +185,10 @@ public class CreatureSpawnEvent extends EntitySpawnEvent {
|
||||
* When an entity is shaking in Powder Snow and a new entity spawns.
|
||||
*/
|
||||
FROZEN,
|
||||
/**
|
||||
* When a tadpole converts to a frog
|
||||
*/
|
||||
METAMORPHOSIS,
|
||||
/**
|
||||
* When a creature is spawned by the "/summon" command
|
||||
*/
|
||||
|
@ -112,6 +112,10 @@ public class EntityTransformEvent extends EntityEvent implements Cancellable {
|
||||
* When a piglin converts to a zombified piglin.
|
||||
*/
|
||||
PIGLIN_ZOMBIFIED,
|
||||
/**
|
||||
* When a tadpole converts to a frog
|
||||
*/
|
||||
METAMORPHOSIS,
|
||||
/**
|
||||
* When reason is unknown.
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user