Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/BG-Software-LLC/SuperiorSkyblock2/llms.txt

Use this file to discover all available pages before exploring further.

The BlockValuesManager handles the worth and level values of blocks in the plugin. It manages custom block values and key parsers for calculating island worth and levels.

Methods

getBlockWorth

BigDecimal getBlockWorth(Key key)
Get the worth value of a key.
key
Key
required
The key to check
return
BigDecimal
The worth value

getBlockLevel

BigDecimal getBlockLevel(Key key)
Get the level value of a key.
key
Key
required
The key to check
return
BigDecimal
The level value

getBlockKey

Key getBlockKey(Key key)
Get the exact key that is used in the config.
key
Key
required
The key to check
return
Key
The key from the config

registerCustomKey

void registerCustomKey(Key key, @Nullable BigDecimal worthValue, @Nullable BigDecimal levelValue)
Register a value for a key.
key
Key
required
The key to set custom value of
worthValue
BigDecimal
The custom worth value of the key (nullable)
levelValue
BigDecimal
The custom level value of the key (nullable)

registerKeyParser

void registerKeyParser(CustomKeyParser customKeyParser, Key... blockTypes)
Register a custom key parser.
customKeyParser
CustomKeyParser
required
The custom key parser
blockTypes
Key...
required
All the block types you want to check

SyncWorthStatus Enum

The SyncWorthStatus enum represents the synchronization status for block worth values:
  • NONE - No synchronization
  • BUY - Synchronize with buy prices
  • SELL - Synchronize with sell prices
public static SyncWorthStatus of(String name)
Convert a string to a SyncWorthStatus enum value.

Build docs developers (and LLMs) love