Package fr.robie.machineengine.api.upgrade


package fr.robie.machineengine.api.upgrade
  • Class
    Description
    Units of one upgrade type installed in a machine.
    One change to a ModifierType's value.
    Applied in this order, like Minecraft attribute modifiers (D16).
    Applies modifiers with the D16 stacking rule: base → +ΣADD → ×(1+ΣADD_MULTIPLIED_BASE) → ×Π(1+MULTIPLY_TOTAL) → clamp.
    A numeric value machines let upgrades modify (ARCHITECTURE.md §14), e.g.
    Modifier types for mechanisms MachineEngine owns (ARCHITECTURE.md §14).
    The upgrade action and list every machine type with upgrade slots gets (D40), unless it declares its own with the same ids.
    Which item is which upgrade (D40).
    Reads upgrade behaviors from items.
    A kind of upgrade (ARCHITECTURE.md §14).