Interface ModifierContext

All Known Implementing Classes:
ModifierContext.StandardContext

public interface ModifierContext
Base context passed into a Modifier during evaluation.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Interface
    Description
    static final record 
    Generic context implementation covering income, steal duration, fusion odds, conveyor speed, rarity weights, and progression/shop costs.
  • Method Summary

    Modifier and Type
    Method
    Description
    double
     
    @Nullable UUID
     
  • Method Details

    • baseValue

      double baseValue()
      Returns:
      the base numerical value before modifiers are applied
    • playerId

      @Nullable @Nullable UUID playerId()
      Returns:
      the player subject of the calculation, if applicable