Class StandardModifiers
java.lang.Object
fr.robie.machineengine.api.upgrade.StandardModifiers
Modifier types for mechanisms MachineEngine owns (ARCHITECTURE.md ยง14). Addons add their own for
anything else.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final ModifierTypeAmount of each per-tick process cost.static final ModifierTypeTicks a process takes.static final ModifierTypeProcesses aProcessingBehaviormay complete per tick (base 1).static final ModifierTypePer-tick limit of rate-limited ports. -
Method Summary
Modifier and TypeMethodDescriptionstatic @NotNull ModifierTypeprocessCost(@NotNull ResourceCategory category) Amount of each per-tick process cost of one resource category, applied afterPROCESS_COST(an energy upgrade lowers energy costs only).
-
Field Details
-
PROCESS_DURATION
Ticks a process takes. Lower is faster; at least 1. -
PROCESS_COST
Amount of each per-tick process cost. -
PROCESSES_PER_TICK
Processes aProcessingBehaviormay 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
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 afterPROCESS_COST(an energy upgrade lowers energy costs only). One instance per category; the addon owning the category registers it.
-