Contents
Class AugmentBlockUpgradeLevel
java.lang.Object
com.hypixel.hytale.builtin.augmentblocks.config.AugmentBlockUpgradeLevel
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 Summary
FieldsModifier and TypeFieldDescriptionstatic final BuilderCodec<AugmentBlockUpgradeLevel> static final AugmentBlockUpgradeLevel[] -
Method Summary
Modifier and TypeMethodDescriptiongetCost()String[]The block's complete grant list while at this level; replaces lower levels' lists.When set, reaching this level swaps the block to this block-type instead of swapping a visual state.String[]Tags that must all be granted by blocks nearby for this level to be reachable.getState()
-
Field Details
-
EMPTY_ARRAY
-
CODEC
-
-
Method Details
-
getState
-
getReplaceBlock
When set, reaching this level swaps the block to this block-type instead of swapping a visual state. -
getCost
-
getRequiredAugmentTags
Tags that must all be granted by blocks nearby for this level to be reachable. -
getGrantsAugmentTags
The block's complete grant list while at this level; replaces lower levels' lists.
-