Downhill from here

This commit is contained in:
2022-05-12 18:47:53 +02:00
commit a1f3a5985d
8 changed files with 368 additions and 0 deletions
@@ -0,0 +1,20 @@
package me.youhavetrouble.entiddy;
import org.bukkit.Location;
import org.bukkit.entity.Entity;
import org.bukkit.entity.LivingEntity;
import org.bukkit.event.entity.CreatureSpawnEvent;
import org.jetbrains.annotations.NotNull;
public interface EntiddyInterface {
/**
* @param location Location to spawn the entity at
* @param spawnReason SpawnReason to set
* @return Spawned entity
*/
Entity spawn(@NotNull Location location, @NotNull CreatureSpawnEvent.SpawnReason spawnReason);
boolean isInstance(LivingEntity entity);
}