Package net.minecraft.world.item.trading
Class MerchantOffers
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<MerchantOffer>
,Collection<MerchantOffer>
,List<MerchantOffer>
,RandomAccess
,SequencedCollection<MerchantOffer>
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec
<MerchantOffers> static final StreamCodec
<RegistryFriendlyByteBuf, MerchantOffers> Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
ModifierConstructorDescriptionprivate
MerchantOffers
(int p_220323_) private
MerchantOffers
(Collection<MerchantOffer> p_323676_) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
getRecipeFor
(ItemStack p_45390_, ItemStack p_45391_, int p_45392_) Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, addFirst, addLast, clear, clone, contains, ensureCapacity, equals, forEach, get, getFirst, getLast, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeFirst, removeIf, removeLast, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll, toString
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll, reversed
-
Field Details
-
CODEC
-
STREAM_CODEC
-
-
Constructor Details
-
MerchantOffers
public MerchantOffers() -
MerchantOffers
private MerchantOffers(int p_220323_) -
MerchantOffers
-
-
Method Details
-
getRecipeFor
-
copy
-