java.lang.Object
de.eldoria.schematicsanitizer.sanitizer.report.cause.Cause
Direct Known Subclasses:
BlockRemovalCause, EntityRemovalCause, NbtRemovalCause

public abstract class Cause extends Object
This is an abstract class representing a cause.
  • Constructor Details

    • Cause

      public Cause(String name)
      Creates a new Cause object with the given name.
      Parameters:
      name - the name of the cause
  • Method Details

    • toString

      public String toString()
      Returns a string representation of the Cause object.
      Overrides:
      toString in class Object
      Returns:
      the name of the cause