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 Dialogdecode(NBT nbt, PacketWrapper<?> wrapper) static DialogdecodeDirect(NBT nbt, PacketWrapper<?> wrapper, @Nullable TypesBuilderData data) static NBTencode(PacketWrapper<?> wrapper, Dialog dialog) static NBTencodeDirect(Dialog dialog, PacketWrapper<?> wrapper) DialogType<?> getType()static Dialogread(PacketWrapper<?> wrapper) static DialogreadDirect(PacketWrapper<?> wrapper) static voidwrite(PacketWrapper<?> wrapper, Dialog dialog) static voidwriteDirect(PacketWrapper<?> wrapper, Dialog dialog) Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.CopyableEntity
copyMethods inherited from interface com.github.retrooper.packetevents.protocol.mapper.DeepComparableEntity
deepEquals, deepHashCodeMethods 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()
-