Interface IgnisWorld


public interface IgnisWorld
Platform-neutral world handle for world-scoped operations.
  • Method Details

    • getUniqueId

      UUID getUniqueId()
    • getName

      String getName()
    • createExplosion

      void createExplosion(IgnisLocation location, float power, boolean fire, boolean blockDamage)
    • playSound

      void playSound(IgnisLocation location, String soundKey, float volume, float pitch)
    • spawnParticle

      void spawnParticle(IgnisLocation location, String particleKey, int count, double offsetX, double offsetY, double offsetZ, double speed)
    • spawnProjectile

      Object spawnProjectile(String projectileType, IgnisLocation location, IgnisPlayer shooter, double velocityX, double velocityY, double velocityZ)
      Returns:
      opaque platform entity handle (e.g. Bukkit Entity, Sponge Entity)
    • spawnEntity

      Object spawnEntity(String entityType, IgnisLocation location)
    • setEntityVelocity

      void setEntityVelocity(Object platformEntity, double velocityX, double velocityY, double velocityZ)
    • getEntityLocation

      IgnisLocation getEntityLocation(Object platformEntity)
    • isEntityValid

      boolean isEntityValid(Object platformEntity)
    • getBlockMaterialKey

      String getBlockMaterialKey(IgnisLocation location)
    • setBlockMaterialKey

      void setBlockMaterialKey(IgnisLocation location, String materialKey)
    • spawnFallingBlock

      Object spawnFallingBlock(IgnisLocation location, String materialKey)
    • getNearbyEntities

      Collection<Object> getNearbyEntities(IgnisLocation center, double radius)
    • getPlayersNear

      List<IgnisPlayer> getPlayersNear(IgnisLocation center, double radius)
    • setEntityTarget

      void setEntityTarget(Object platformEntity, IgnisPlayer target)
    • configurePrimedTnt

      void configurePrimedTnt(Object platformEntity, int fuseTicks, float yield, boolean incendiary)
    • removeEntity

      void removeEntity(Object platformEntity)