Class FlyOverArea

All Implemented Interfaces:
Killer, Cloneable, Iterable<String>, Serializable

public class FlyOverArea extends WalkBlocker
An entity that acts as an obstacle for "walking" entities. FIXME: Players should not be able to set items in this area as is done with WalkBlocker.
  • Constructor Details

    • FlyOverArea

      public FlyOverArea()
      Create an area that can be "flown" over.
  • Method Details

    • generateRPClass

      public static void generateRPClass()
    • isObstacle

      public boolean isObstacle(Entity entity)
      Description copied from class: WalkBlocker
      Determine if this is an obstacle for another entity.
      Overrides:
      isObstacle in class WalkBlocker
      Parameters:
      entity - The entity to check against.
      Returns:
      true if the other entity is an RPEntity, otherwise the default.