dgd | |
net.minecraft.world.item.trading.ItemCost | |
net.minecraft.class_9306 | |
net.minecraft.village.TradedItem | |
net.minecraft.world.item.trading.ItemCost |
Field summary
Modifier and Type | Field | ||||||||
---|---|---|---|---|---|---|---|---|---|
private final Holder<Item> |
| ||||||||
private final int |
| ||||||||
private final DataComponentPredicate |
| ||||||||
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, DataComponentPredicate components) |
public | (Holder<Item> arg0, int arg1, DataComponentPredicate arg2, ItemStack arg3) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
public ItemCost |
| ||||||||
private static ItemStack |
| ||||||||
public boolean |
| ||||||||
public Holder<Item> |
| ||||||||
public int |
| ||||||||
public DataComponentPredicate |
| ||||||||
public ItemStack |
|