mirror of
https://github.com/PaperMC/Paper.git
synced 2025-01-30 11:30:36 +01:00
Entity#fromMobSpawner()
This commit is contained in:
parent
705daba3f5
commit
7bde46eefa
1 changed files with 7 additions and 0 deletions
|
@ -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…
Add table
Reference in a new issue