Interface Dialog
- All Superinterfaces:
CopyableEntity<Dialog>
,DeepComparableEntity
,net.kyori.adventure.dialog.DialogLike
,MappedEntity
- All Known Implementing Classes:
ConfirmationDialog
,DialogListDialog
,MultiActionDialog
,NoticeDialog
,ServerLinksDialog
@NullMarked
public interface Dialog
extends MappedEntity, DeepComparableEntity, CopyableEntity<Dialog>, net.kyori.adventure.dialog.DialogLike
-
Method Summary
Modifier and TypeMethodDescriptionstatic Dialog
decode
(NBT nbt, PacketWrapper<?> wrapper) static Dialog
decodeDirect
(NBT nbt, PacketWrapper<?> wrapper, @Nullable TypesBuilderData data) static NBT
encode
(PacketWrapper<?> wrapper, Dialog dialog) static NBT
encodeDirect
(Dialog dialog, PacketWrapper<?> wrapper) DialogType
<?> getType()
static Dialog
read
(PacketWrapper<?> wrapper) static Dialog
readDirect
(PacketWrapper<?> wrapper) static void
write
(PacketWrapper<?> wrapper, Dialog dialog) static void
writeDirect
(PacketWrapper<?> wrapper, Dialog dialog) Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.CopyableEntity
copy
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.DeepComparableEntity
deepEquals, deepHashCode
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Method Details
-
read
-
write
-
readDirect
-
writeDirect
-
decode
-
encode
-
decodeDirect
@Internal static Dialog decodeDirect(NBT nbt, PacketWrapper<?> wrapper, @Nullable @Nullable TypesBuilderData data) -
encodeDirect
-
getType
DialogType<?> getType()
-