Class StandardModifiers

java.lang.Object
fr.robie.machineengine.api.upgrade.StandardModifiers

public final class StandardModifiers extends Object
Modifier types for mechanisms MachineEngine owns (ARCHITECTURE.md ยง14). Addons add their own for anything else.
  • Field Details

    • PROCESS_DURATION

      public static final ModifierType PROCESS_DURATION
      Ticks a process takes. Lower is faster; at least 1.
    • PROCESS_COST

      public static final ModifierType PROCESS_COST
      Amount of each per-tick process cost.
    • PROCESSES_PER_TICK

      public static final ModifierType PROCESSES_PER_TICK
      Processes a ProcessingBehavior may complete per tick (base 1). Only one-tick processes benefit: a process cannot take less than a tick, so these machines run several instead.
    • TRANSFER_RATE

      public static final ModifierType TRANSFER_RATE
      Per-tick limit of rate-limited ports.
  • Method Details

    • processCost

      @NotNull public static @NotNull ModifierType processCost(@NotNull @NotNull ResourceCategory category)
      Amount of each per-tick process cost of one resource category, applied after PROCESS_COST (an energy upgrade lowers energy costs only). One instance per category; the addon owning the category registers it.