mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-27 11:27:35 +01:00
Entity#fromMobSpawner()
This commit is contained in:
parent
705daba3f5
commit
7bde46eefa
@ -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
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user