public class MerchantRecipeList extends java.util.ArrayList<MerchantRecipe>
Constructor and Description |
---|
MerchantRecipeList() |
MerchantRecipeList(NBTTagCompound compound) |
Modifier and Type | Method and Description |
---|---|
private boolean |
areItemStacksExactlyEqual(ItemStack stack1,
ItemStack stack2) |
MerchantRecipe |
canRecipeBeUsed(ItemStack stack0,
ItemStack stack1,
int index) |
NBTTagCompound |
getRecipiesAsTags() |
static MerchantRecipeList |
readFromBuf(PacketBuffer buffer) |
void |
readRecipiesFromTags(NBTTagCompound compound) |
void |
writeToBuf(PacketBuffer buffer) |
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, forEach, get, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
public MerchantRecipeList()
public MerchantRecipeList(NBTTagCompound compound)
@Nullable public MerchantRecipe canRecipeBeUsed(ItemStack stack0, ItemStack stack1, int index)
private boolean areItemStacksExactlyEqual(ItemStack stack1, ItemStack stack2)
public void writeToBuf(PacketBuffer buffer)
public void readRecipiesFromTags(NBTTagCompound compound)
public NBTTagCompound getRecipiesAsTags()
public static MerchantRecipeList readFromBuf(PacketBuffer buffer) throws java.io.IOException
java.io.IOException