Enum Constant and Description |
---|
CAPACITY
Gold Tier Upgrades.
|
CRAFTING |
FUZZY
Diamond Tier Upgrades.
|
INVERTER |
ORE_FILTER |
PATTERN_CAPACITY |
REDSTONE |
SPEED |
Modifier and Type | Method and Description |
---|---|
java.util.Map<net.minecraft.item.ItemStack,java.lang.Integer> |
getSupported() |
int |
getTier() |
void |
registerItem(AEItemDefinition item,
int maxSupported)
Deprecated.
|
void |
registerItem(IItemDefinition item,
int maxSupported)
Registers a specific amount of this upgrade into a specific machine
|
void |
registerItem(net.minecraft.item.ItemStack stack,
int maxSupported)
Registers a specific amount of this upgrade into a specific machine
|
static Upgrades |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Upgrades[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Upgrades CAPACITY
public static final Upgrades REDSTONE
public static final Upgrades CRAFTING
public static final Upgrades FUZZY
public static final Upgrades SPEED
public static final Upgrades INVERTER
public static final Upgrades PATTERN_CAPACITY
public static final Upgrades ORE_FILTER
@Deprecated public final int tier
getTier()
public static Upgrades[] values()
for (Upgrades c : Upgrades.values()) System.out.println(c);
public static Upgrades valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.util.Map<net.minecraft.item.ItemStack,java.lang.Integer> getSupported()
public void registerItem(IItemDefinition item, int maxSupported)
item
- machine in which this upgrade can be installedmaxSupported
- amount how many upgrades can be installedpublic void registerItem(net.minecraft.item.ItemStack stack, int maxSupported)
stack
- machine in which this upgrade can be installedmaxSupported
- amount how many upgrades can be installed@Deprecated public void registerItem(AEItemDefinition item, int maxSupported)
registerItem(IItemDefinition, int)
item
- machine in which this upgrade can be installedmaxSupported
- amount how many upgrades can be installedpublic int getTier()