Class EntityRemovalCause

java.lang.Object
de.eldoria.schematicsanitizer.sanitizer.report.cause.Cause
de.eldoria.schematicsanitizer.sanitizer.report.cause.EntityRemovalCause

public abstract class EntityRemovalCause extends Cause
The EntityRemovalCause class represents the cause for the removal of an entity.

This class extends the Cause class and provides several predefined instances representing common removal causes, such as being in a blacklist, not being a creature, being a creature, or having an unknown type.

  • Field Details

    • BLACKLIST

      public static final EntityRemovalCause BLACKLIST
      Represents a cause for entity removal related to a blacklist.
    • NON_CREATURE

      public static final EntityRemovalCause NON_CREATURE
      Represents the reason for removing a non-creature entity.
    • CREATURE

      public static final EntityRemovalCause CREATURE
      Represents a constant variable that defines the entity removal cause as a creature.
    • UNKNOWN_TYPE

      public static final EntityRemovalCause UNKNOWN_TYPE
      Represents an unknown type of entity removal cause.
    • CREATURE_LIMIT

      public static final EntityRemovalCause CREATURE_LIMIT
      Represents an unknown type of entity removal cause.
    • NON_CREATURE_LIMIT

      public static final EntityRemovalCause NON_CREATURE_LIMIT
      Represents an unknown type of entity removal cause.
  • Constructor Details

    • EntityRemovalCause

      public EntityRemovalCause(String name)
      Creates a new instance of EntityRemovalCause with the specified name.
      Parameters:
      name - the name associated with the cause of entity removal