net.minecraft.dialog.body

public record ItemDialogBody

implements DialogBody

asm
net.minecraft.server.dialog.body.ItemBody
net.minecraft.class_11434
net.minecraft.dialog.body.ItemDialogBody
net.minecraft.unmapped.C_gnszndak
net.minecraft.server.dialog.body.ItemDialogBody
net.minecraft.src.C_398644_

Field summary

Modifier and TypeField
private final ItemStack
d
item
comp_4324
item
f_bhcaqrmd
item
f_399582_
private final Optional<PlainMessageDialogBody>
e
description
comp_4325
description
f_hspciyrs
description
f_399076_
private final boolean
f
showDecorations
comp_4326
showDecorations
f_jhalbzft
showDecorations
f_398681_
private final boolean
g
showTooltip
comp_4327
showTooltip
f_pwnlofdr
showTooltip
f_399086_
private final int
h
width
comp_4328
width
f_zkequphn
width
f_399300_
private final int
i
height
comp_4329
height
f_pojiprvk
height
f_398701_
public static final com.mojang.serialization.MapCodec<ItemDialogBody>
c
MAP_CODEC
field_60639
CODEC
f_kygidafh
CODEC
f_400509_

Constructor summary

ModifierConstructor
public (ItemStack stack, Optional<PlainMessageDialogBody> description, boolean showDecorations, boolean showTooltip, int width, int height)

Method summary

Modifier and TypeMethod
public com.mojang.serialization.MapCodec<ItemDialogBody>
a()
mapCodec()
method_71711()
getTypeCodec()
m_vwlapddm()
getCodec()
m_402427_()
public ItemStack
b()
item()
comp_4324()
item()
m_zxtfjlaq()
item()
f_399582_()
public Optional<PlainMessageDialogBody>
c()
description()
comp_4325()
description()
m_tscjtvvy()
description()
f_399076_()
public boolean
d()
showDecorations()
comp_4326()
showDecorations()
m_zxbeozap()
showDecorations()
f_398681_()
public boolean
e()
showTooltip()
comp_4327()
showTooltip()
m_ahhvydhz()
showTooltip()
f_399086_()
public int
f()
width()
comp_4328()
width()
m_rjxoodpr()
width()
f_399300_()
public int
g()
height()
comp_4329()
height()
m_dwpizdqh()
height()
f_398701_()