public class SpigotEntityManager extends Object
Constructor and Description |
---|
SpigotEntityManager() |
Modifier and Type | Method and Description |
---|---|
static @Nullable Entity |
getEntity(org.bukkit.entity.Entity bukkitEntity) |
static @Nullable CommandSender |
getExecutor(org.bukkit.command.CommandSender sender) |
static Player |
getPlayer(@Nullable org.bukkit.entity.Player p) |
static @Nullable Entity |
getProjectile(org.bukkit.projectiles.ProjectileSource bukkitEntity) |
public static Player getPlayer(@Nullable org.bukkit.entity.Player p)
public static @Nullable Entity getEntity(org.bukkit.entity.Entity bukkitEntity)
public static @Nullable Entity getProjectile(org.bukkit.projectiles.ProjectileSource bukkitEntity)
public static @Nullable CommandSender getExecutor(org.bukkit.command.CommandSender sender)