Interface EntityFunction

All Known Implementing Classes:
ExtentEntityCopy

public interface EntityFunction
Applies a function to entities.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    apply(Entity entity)
    Apply the function to the entity.
  • Method Details

    • apply

      boolean apply(Entity entity) throws WorldEditException
      Apply the function to the entity.
      Parameters:
      entity - the entity
      Returns:
      true if something was changed
      Throws:
      WorldEditException - thrown on an error