Package net.minecraft.village
Class TraderOfferList
- All Implemented Interfaces:
Serializable,Cloneable,Iterable<TradeOffer>,Collection<TradeOffer>,List<TradeOffer>,RandomAccess
public class TraderOfferList extends ArrayList<TradeOffer>
- See Also:
- Serialized Form
- Mappings:
Namespace Name official adaintermediary net/minecraft/class_86named net/minecraft/village/TraderOfferList
-
Field Summary
Fields inherited from class java.util.AbstractList
modCount -
Constructor Summary
Constructors Constructor Description TraderOfferList()TraderOfferList(CompoundTag compoundTag) -
Method Summary
Modifier and Type Method Description static TraderOfferListfromPacket(PacketByteBuf byteBuf)TradeOffergetValidRecipe(ItemStack firstBuyItem, ItemStack secondBuyItem, int index)voidmethod_149(CompoundTag compoundTag)private booleanmethod_151(ItemStack itemStack, ItemStack itemStack2)voidtoPacket(PacketByteBuf buffer)CompoundTagtoTag()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, trimToSizeMethods inherited from class java.util.AbstractCollection
containsAll, toStringMethods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.util.Collection
parallelStream, stream, toArrayMethods inherited from interface java.util.List
containsAll
-
Constructor Details
-
TraderOfferList
public TraderOfferList() -
TraderOfferList
-
-
Method Details
-
getValidRecipe
- Mappings:
Namespace Name Mixin selector official aLada;a(Lzx;Lzx;I)Lacz;intermediary method_152Lnet/minecraft/class_86;method_152(Lnet/minecraft/class_2056;Lnet/minecraft/class_2056;I)Lnet/minecraft/class_84;named getValidRecipeLnet/minecraft/village/TraderOfferList;getValidRecipe(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;I)Lnet/minecraft/village/TradeOffer;
-
method_151
- Mappings:
Namespace Name Mixin selector official aLada;a(Lzx;Lzx;)Zintermediary method_151Lnet/minecraft/class_86;method_151(Lnet/minecraft/class_2056;Lnet/minecraft/class_2056;)Znamed method_151Lnet/minecraft/village/TraderOfferList;method_151(Lnet/minecraft/item/ItemStack;Lnet/minecraft/item/ItemStack;)Z
-
toPacket
- Mappings:
Namespace Name Mixin selector official aLada;a(Lem;)Vintermediary method_150Lnet/minecraft/class_86;method_150(Lnet/minecraft/class_1435;)Vnamed toPacketLnet/minecraft/village/TraderOfferList;toPacket(Lnet/minecraft/util/PacketByteBuf;)V
-
fromPacket
@Environment(CLIENT) public static TraderOfferList fromPacket(PacketByteBuf byteBuf) throws IOException- Throws:
IOException- Mappings:
Namespace Name Mixin selector official bLada;b(Lem;)Lada;intermediary method_153Lnet/minecraft/class_86;method_153(Lnet/minecraft/class_1435;)Lnet/minecraft/class_86;named fromPacketLnet/minecraft/village/TraderOfferList;fromPacket(Lnet/minecraft/util/PacketByteBuf;)Lnet/minecraft/village/TraderOfferList;
-
method_149
- Mappings:
Namespace Name Mixin selector official aLada;a(Ldn;)Vintermediary method_149Lnet/minecraft/class_86;method_149(Lnet/minecraft/class_1405;)Vnamed method_149Lnet/minecraft/village/TraderOfferList;method_149(Lnet/minecraft/nbt/CompoundTag;)V
-
toTag
- Mappings:
Namespace Name Mixin selector official aLada;a()Ldn;intermediary method_148Lnet/minecraft/class_86;method_148()Lnet/minecraft/class_1405;named toTagLnet/minecraft/village/TraderOfferList;toTag()Lnet/minecraft/nbt/CompoundTag;
-