Class EntityRemovalCause
java.lang.Object
de.eldoria.schematicsanitizer.sanitizer.report.cause.Cause
de.eldoria.schematicsanitizer.sanitizer.report.cause.EntityRemovalCause
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final EntityRemovalCauseRepresents a cause for entity removal related to a blacklist.static final EntityRemovalCauseRepresents a constant variable that defines the entity removal cause as a creature.static final EntityRemovalCauseRepresents an unknown type of entity removal cause.static final EntityRemovalCauseRepresents the reason for removing a non-creature entity.static final EntityRemovalCauseRepresents an unknown type of entity removal cause.static final EntityRemovalCauseRepresents an unknown type of entity removal cause. -
Constructor Summary
ConstructorsConstructorDescriptionEntityRemovalCause(String name) Creates a new instance of EntityRemovalCause with the specified name. -
Method Summary
-
Field Details
-
BLACKLIST
Represents a cause for entity removal related to a blacklist. -
NON_CREATURE
Represents the reason for removing a non-creature entity. -
CREATURE
Represents a constant variable that defines the entity removal cause as a creature. -
UNKNOWN_TYPE
Represents an unknown type of entity removal cause. -
CREATURE_LIMIT
Represents an unknown type of entity removal cause. -
NON_CREATURE_LIMIT
Represents an unknown type of entity removal cause.
-
-
Constructor Details
-
EntityRemovalCause
Creates a new instance of EntityRemovalCause with the specified name.- Parameters:
name- the name associated with the cause of entity removal
-