| Modifier and Type | Field and Description |
|---|---|
static net.minecraft.item.Item |
item |
static PipeWire[] |
VALUES |
| Modifier and Type | Method and Description |
|---|---|
static PipeWire |
fromOrdinal(int ordinal) |
java.lang.String |
getColor() |
net.minecraft.item.ItemStack |
getStack() |
net.minecraft.item.ItemStack |
getStack(int qty) |
java.lang.String |
getTag() |
boolean |
isPipeWire(net.minecraft.item.ItemStack stack) |
PipeWire |
reverse() |
static PipeWire |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static PipeWire[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PipeWire RED
public static final PipeWire BLUE
public static final PipeWire GREEN
public static final PipeWire YELLOW
public static net.minecraft.item.Item item
public static final PipeWire[] VALUES
public static PipeWire[] values()
for (PipeWire c : PipeWire.values()) System.out.println(c);
public static PipeWire 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 PipeWire reverse()
public java.lang.String getTag()
public java.lang.String getColor()
public net.minecraft.item.ItemStack getStack()
public net.minecraft.item.ItemStack getStack(int qty)
public boolean isPipeWire(net.minecraft.item.ItemStack stack)
public static PipeWire fromOrdinal(int ordinal)