notnull and javadocs

This commit is contained in:
2022-05-12 19:03:02 +02:00
parent 48b44c7173
commit 7452dca5e3
6 changed files with 11 additions and 5 deletions
@@ -15,6 +15,9 @@ public interface EntiddyInterface {
*/
Entity spawn(@NotNull Location location, @NotNull CreatureSpawnEvent.SpawnReason spawnReason);
boolean isInstance(LivingEntity entity);
/**
* @return True if the entity is an instance of the specific special/easter egg type
*/
boolean isInstance(@NotNull LivingEntity entity);
}