| Modifier and Type | Method and Description |
|---|---|
int |
getInventoryHeight() |
int |
getInventorySize() |
int |
getInventoryWidth() |
java.lang.String |
getName() |
net.minecraft.item.Rarity |
getRarity() |
int |
getSlotBackpackX() |
int |
getSlotBackpackY() |
int |
getSlotPlayerX() |
int |
getSlotPlayerY() |
int |
getTextureSizeX() |
int |
getTextureSizeY() |
static Backpack |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static Backpack[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Backpack SMALL
public static final Backpack MEDIUM
public static final Backpack LARGE
public static Backpack[] values()
for (Backpack c : Backpack.values()) System.out.println(c);
public static Backpack 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.lang.String getName()
public net.minecraft.item.Rarity getRarity()
public int getInventoryWidth()
public int getInventoryHeight()
public int getInventorySize()
public int getSlotBackpackX()
public int getSlotBackpackY()
public int getSlotPlayerX()
public int getSlotPlayerY()
public int getTextureSizeX()
public int getTextureSizeY()