mirror of
https://github.com/PaperMC/Paper.git
synced 2025-03-13 19:28:03 +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
2 changed files with 8 additions and 0 deletions
paper-api/src/main/java/org/bukkit/event/entity
|
@ -185,6 +185,10 @@ public class CreatureSpawnEvent extends EntitySpawnEvent {
|
||||||
* When an entity is shaking in Powder Snow and a new entity spawns.
|
* When an entity is shaking in Powder Snow and a new entity spawns.
|
||||||
*/
|
*/
|
||||||
FROZEN,
|
FROZEN,
|
||||||
|
/**
|
||||||
|
* When a tadpole converts to a frog
|
||||||
|
*/
|
||||||
|
METAMORPHOSIS,
|
||||||
/**
|
/**
|
||||||
* When a creature is spawned by the "/summon" command
|
* 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.
|
* When a piglin converts to a zombified piglin.
|
||||||
*/
|
*/
|
||||||
PIGLIN_ZOMBIFIED,
|
PIGLIN_ZOMBIFIED,
|
||||||
|
/**
|
||||||
|
* When a tadpole converts to a frog
|
||||||
|
*/
|
||||||
|
METAMORPHOSIS,
|
||||||
/**
|
/**
|
||||||
* When reason is unknown.
|
* When reason is unknown.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue