| net.minecraft.world.item.trading.ItemCost | |
| net.minecraft.class_9306 | |
| net.minecraft.village.TradedItem |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final RegistryEntry<Item> |
|
||||||
| private final int |
|
||||||
| private final ComponentMapPredicate |
|
||||||
| private final ItemStack |
|
||||||
| public static final com.mojang.serialization.Codec<TradedItem> |
|
||||||
| public static final PacketCodec<RegistryByteBuf, TradedItem> |
|
||||||
| public static final PacketCodec<RegistryByteBuf, Optional<TradedItem>> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (ItemConvertible item) |
| public | (ItemConvertible item, int count) |
| public | (RegistryEntry<Item> item, int count, ComponentMapPredicate components) |
| public | (RegistryEntry<Item> item, int count, ComponentMapPredicate components, ItemStack itemStack) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public TradedItem |
|
||||||
| private static ItemStack |
|
||||||
| public boolean |
|
||||||
| public RegistryEntry<Item> |
|
||||||
| public int |
|
||||||
| public ComponentMapPredicate |
|
||||||
| public ItemStack |
|
||||||
| private static com.mojang.datafixers.kinds.App |
|