| dub | |
| net.minecraft.world.item.trading.ItemCost | |
| net.minecraft.class_9306 | |
| net.minecraft.village.TradedItem |
Field summary
| Modifier and Type | Field | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| private final Holder<Item> |
| ||||||||
| private final int |
| ||||||||
| private final DataComponentExactPredicate |
| ||||||||
| private final ItemStack |
| ||||||||
| public static final com.mojang.serialization.Codec<ItemCost> |
| ||||||||
| public static final StreamCodec<RegistryFriendlyByteBuf, ItemCost> |
| ||||||||
| public static final StreamCodec<RegistryFriendlyByteBuf, Optional<ItemCost>> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (ItemLike item) |
| public | (ItemLike item, int count) |
| public | (Holder<Item> item, int count, DataComponentExactPredicate components) |
| public | (Holder<Item> item, int count, DataComponentExactPredicate components, ItemStack itemStack) |
Method summary
| Modifier and Type | Method | ||||||||
|---|---|---|---|---|---|---|---|---|---|
| public ItemCost |
| ||||||||
| private static ItemStack |
| ||||||||
| public boolean |
| ||||||||
| public Holder<Item> |
| ||||||||
| public int |
| ||||||||
| public DataComponentExactPredicate |
| ||||||||
| public ItemStack |
|