public interface CallBudget
Processor
s and
Memory
.
The actual call budget of a machine is set to the average of
the specified call budget of all present components.
A processor and memory implementation may choose not to implement this
interface. If no component providing a call budget it present in a machine,
a value of 1.0 will be used, i.e. the "default" speed modifier.Modifier and Type | Method and Description |
---|---|
double |
getCallBudget(net.minecraft.item.ItemStack stack)
The budget for direct calls provided by the specified component.
|
double getCallBudget(net.minecraft.item.ItemStack stack)
stack
- the stack representing the part to get the call budget for.