Class GenTierLevel

java.lang.Object
me.metallicgoat.tweaksaddon.api.gentiers.GenTierLevel

public class GenTierLevel extends Object
  • Constructor Details

  • Method Details

    • broadcastEarn

      public void broadcastEarn(Arena arena)
      Plays the sound, and broadcasts the message of this gen tier. Used when this level becomes active
      Parameters:
      arena - where this level is active on
    • getType

      @Nullable public @Nullable DropType getType()
      Returns the DropType of the spawners this level will affect Will return null is level does not affect as spawner (i.e. Bread break tier)
      Returns:
      the DropType this level aims to affect if applicable
    • getNextLevel

      @Nullable public @Nullable GenTierLevel getNextLevel()
      Gets the next level after this one has been reached.
      Returns:
      the next GenTierLevel, or null if this is the highest level
    • getPreviousLevel

      @Nullable public @Nullable GenTierLevel getPreviousLevel()
      Gets the previous level before this one has been reached.
      Returns:
      the previous GenTierLevel, or null if this is the first level