Class PlayerLevellingOptions

java.lang.Object
me.lokka30.levelledmobs.rules.PlayerLevellingOptions
All Implemented Interfaces:
Cloneable

public class PlayerLevellingOptions extends Object implements Cloneable
Holds any rules relating to player levelling
Since:
3.1.0
  • Field Details

    • levelTiers

      @NotNull public final @NotNull List<LevelTierMatching> levelTiers
    • matchPlayerLevel

      public Boolean matchPlayerLevel
    • enabled

      public Boolean enabled
    • usePlayerMaxLevel

      public Boolean usePlayerMaxLevel
    • recheckPlayers

      public Boolean recheckPlayers
    • levelCap

      public Integer levelCap
    • preserveEntityTime

      public Long preserveEntityTime
    • playerLevelScale

      public Double playerLevelScale
    • variable

      public String variable
    • decreaseLevel

      public boolean decreaseLevel
    • doMerge

      public boolean doMerge
  • Method Details

    • mergeRule

      public void mergeRule(@Nullable @Nullable PlayerLevellingOptions options)
    • cloneItem

      public PlayerLevellingOptions cloneItem()
    • getMatchPlayerLevel

      public boolean getMatchPlayerLevel()
    • getEnabled

      public boolean getEnabled()
    • getUsePlayerMaxLevel

      public boolean getUsePlayerMaxLevel()
    • getRecheckPlayers

      public boolean getRecheckPlayers()
    • getPlayerLevels

      @Nullable public @Nullable MinAndMaxHolder getPlayerLevels(@NotNull @NotNull LivingEntityWrapper lmEntity)
    • toString

      public String toString()
      Overrides:
      toString in class Object