public interface Processor extends Item
Modifier and Type | Method and Description |
---|---|
java.lang.Class<? extends Architecture> |
architecture(net.minecraft.item.ItemStack stack)
The architecture of this CPU.
|
int |
supportedComponents(net.minecraft.item.ItemStack stack)
The additional number of components supported if this processor is
installed in the server.
|
int supportedComponents(net.minecraft.item.ItemStack stack)
stack
- the processor to get the number of supported components for.java.lang.Class<? extends Architecture> architecture(net.minecraft.item.ItemStack stack)
stack
- the stack representing the CPU to get the architecture for.