public static class ListHandlerNew.Line
extends java.lang.Object
| Modifier and Type | Field and Description |
|---|---|
boolean |
byMaterial |
boolean |
byType |
boolean |
precise |
net.minecraft.item.ItemStack[] |
stacks |
| Constructor and Description |
|---|
Line() |
| Modifier and Type | Method and Description |
|---|---|
static ListHandlerNew.Line |
fromNBT(net.minecraft.nbt.NBTTagCompound data) |
java.util.List<net.minecraft.item.ItemStack> |
getExamples() |
boolean |
getOption(int id) |
ListMatchHandler.Type |
getSortingType() |
net.minecraft.item.ItemStack |
getStack(int i) |
boolean |
isOneStackMode() |
boolean |
matches(net.minecraft.item.ItemStack target) |
void |
setStack(int slotIndex,
net.minecraft.item.ItemStack stack) |
void |
toggleOption(int id) |
net.minecraft.nbt.NBTTagCompound |
toNBT() |
public final net.minecraft.item.ItemStack[] stacks
public boolean precise
public boolean byType
public boolean byMaterial
public boolean isOneStackMode()
public boolean getOption(int id)
public void toggleOption(int id)
public boolean matches(net.minecraft.item.ItemStack target)
public ListMatchHandler.Type getSortingType()
public static ListHandlerNew.Line fromNBT(net.minecraft.nbt.NBTTagCompound data)
public net.minecraft.nbt.NBTTagCompound toNBT()
public void setStack(int slotIndex,
net.minecraft.item.ItemStack stack)
public net.minecraft.item.ItemStack getStack(int i)
public java.util.List<net.minecraft.item.ItemStack> getExamples()