implements DialogBody
| atc | |
| net.minecraft.server.dialog.body.ItemBody | |
| net.minecraft.class_11434 | |
| net.minecraft.dialog.body.ItemDialogBody | |
| net.minecraft.src.C_398644_ | |
| net.minecraft.server.dialog.body.ItemBody |
字段概要
| 修饰符与类型 | 字段 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| private final ItemStack |
| ||||||||||
| private final Optional<PlainMessage> |
| ||||||||||
| private final boolean |
| ||||||||||
| private final boolean |
| ||||||||||
| private final int |
| ||||||||||
| private final int |
| ||||||||||
| public static final com.mojang.serialization.MapCodec<ItemBody> |
|
构造函数概要
| 修饰符 | 构造函数 |
|---|---|
| public | (ItemStack item, Optional<PlainMessage> description, boolean showDecorations, boolean showTooltip, int width, int height) |
方法概要
| 修饰符与类型 | 方法 | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| public com.mojang.serialization.MapCodec<ItemBody> |
| ||||||||||
| public ItemStack |
| ||||||||||
| public Optional<PlainMessage> |
| ||||||||||
| public boolean |
| ||||||||||
| public boolean |
| ||||||||||
| public int |
| ||||||||||
| public int |
|