Class EntitySource
java.lang.Object
com.ordwen.odailyquests.events.antiglitch.EntitySource
-
Field Summary
Fields -
Method Summary
Modifier and TypeMethodDescriptionstatic void
addEntityFromSpawner
(org.bukkit.entity.Entity entity) Adds an entity from a spawner.static boolean
isEntityFromSpawner
(org.bukkit.entity.Entity entity) Checks if an entity is from a spawner.
-
Field Details
-
FROM_SPAWNER
public static final org.bukkit.NamespacedKey FROM_SPAWNER
-
-
Method Details
-
addEntityFromSpawner
public static void addEntityFromSpawner(org.bukkit.entity.Entity entity) Adds an entity from a spawner.- Parameters:
entity
- the entity to add.
-
isEntityFromSpawner
public static boolean isEntityFromSpawner(org.bukkit.entity.Entity entity) Checks if an entity is from a spawner.- Parameters:
entity
- the entity to check.- Returns:
- true if the entity is from a spawner.
-