Interface Addon

All Known Implementing Classes:
GraveAbandonedEvent, GraveAutoLootEvent, GraveBlockPlaceEvent, GraveBreakEvent, GraveCloseEvent, GraveCompassAddEvent, GraveCompassUseEvent, GraveCreateEvent, GraveEconomyEvent, GraveEvent, GraveExplodeEvent, GraveLootedEvent, GraveObituaryAddEvent, GraveOpenEvent, GraveParticleEvent, GravePistonExtendEvent, GravePlayerHeadDropEvent, GraveProjectileHitEvent, GraveProtectionCreateEvent, GraveProtectionExpiredEvent, GraveTeleportEvent, GraveTimeoutEvent, GraveWalkOverEvent, GraveZombieSpawnEvent

public interface Addon
Interface representing an addon feature for the GravesX plugin. Provides methods to check and set the addon status.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    Checks if the current instance is an addon.
    void
    setAddon(boolean addon)
    Sets the addon status for the current instance.
  • Method Details

    • isAddon

      boolean isAddon()
      Checks if the current instance is an addon.
      Returns:
      true if this is an addon, false otherwise.
    • setAddon

      void setAddon(boolean addon)
      Sets the addon status for the current instance.
      Parameters:
      addon - true to mark as an addon, false otherwise.