Class CustomDropBase

java.lang.Object
me.lokka30.levelledmobs.customdrops.CustomDropBase
All Implemented Interfaces:
Cloneable
Direct Known Subclasses:
CustomCommand, CustomDropItem

public abstract class CustomDropBase extends Object implements Cloneable
Base class for all custom drops including custom commands
Since:
3.0.0
  • Field Details

    • uid

      public final UUID uid
    • minLevel

      public int minLevel
    • maxLevel

      public int maxLevel
    • priority

      public int priority
    • useChunkKillMax

      public boolean useChunkKillMax
    • chance

      public float chance
    • isDefaultDrop

      public boolean isDefaultDrop
    • groupId

      public String groupId
    • permissions

      @NotNull public final @NotNull List<String> permissions
    • playeerVariableMatches

      @NotNull public final @NotNull List<String> playeerVariableMatches
  • Method Details

    • getAmount

      public int getAmount()
    • setAmount

      public void setAmount(int amount)
    • hasGroupId

      public boolean hasGroupId()
    • cloneItem

      public CustomDropBase cloneItem()