1
0
Fork 0
mirror of https://github.com/PaperMC/Paper.git synced 2025-01-30 11:30:36 +01:00

Entity#fromMobSpawner()

This commit is contained in:
BillyGalbreath 2017-06-18 18:17:05 -05:00
parent 705daba3f5
commit 7bde46eefa

View file

@ -805,5 +805,12 @@ public interface Entity extends Metadatable, CommandSender, Nameable, Persistent
*/
@Nullable
Location getOrigin();
/**
* Returns whether this entity was spawned from a mob spawner.
*
* @return True if entity spawned from a mob spawner
*/
boolean fromMobSpawner();
// Paper end
}