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
}