Package net.minecraft.item
Class MerchantOffers
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<MerchantOffer>
-
- net.minecraft.item.MerchantOffers
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<MerchantOffer>
,java.util.Collection<MerchantOffer>
,java.util.List<MerchantOffer>
,java.util.RandomAccess
public class MerchantOffers extends java.util.ArrayList<MerchantOffer>
- See Also:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MerchantOffers()
MerchantOffers(CompoundNBT p_i50011_1_)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MerchantOffers
createFromStream(PacketBuffer p_222198_0_)
CompoundNBT
createTag()
MerchantOffer
getRecipeFor(ItemStack p_222197_1_, ItemStack p_222197_2_, int p_222197_3_)
void
writeToStream(PacketBuffer p_222196_1_)
-
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
-
-
-
-
Constructor Detail
-
MerchantOffers
public MerchantOffers()
-
MerchantOffers
public MerchantOffers(CompoundNBT p_i50011_1_)
-
-
Method Detail
-
getRecipeFor
@Nullable public MerchantOffer getRecipeFor(ItemStack p_222197_1_, ItemStack p_222197_2_, int p_222197_3_)
-
writeToStream
public void writeToStream(PacketBuffer p_222196_1_)
-
createFromStream
public static MerchantOffers createFromStream(PacketBuffer p_222198_0_)
-
createTag
public CompoundNBT createTag()
-
-