Class AugmentBlockUpgradeLevel

java.lang.Object
com.hypixel.hytale.builtin.augmentblocks.config.AugmentBlockUpgradeLevel

public class AugmentBlockUpgradeLevel extends Object
A single upgrade level of an AugmentBlock. A level is reached by the player spending its cost; requiredAugmentTags gate whether it can be reached at all - only while every listed tag is granted by a block nearby. grantsAugmentTags is the block's COMPLETE grant list while at this level; it replaces the previous level's list (and level 0's flat list), so restate the tags to keep and omit the tags to drop.

Distinct from the crafting bench TierLevels upgrade system.

  • Field Details

  • Method Details

    • getState

      @Nullable public String getState()
    • getReplaceBlock

      @Nullable public String getReplaceBlock()
      When set, reaching this level swaps the block to this block-type instead of swapping a visual state.
    • getCost

      public MaterialQuantity[] getCost()
    • getRequiredAugmentTags

      public String[] getRequiredAugmentTags()
      Tags that must all be granted by blocks nearby for this level to be reachable.
    • getGrantsAugmentTags

      public String[] getGrantsAugmentTags()
      The block's complete grant list while at this level; replaces lower levels' lists.