Class DialogListDialog
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.dialog.DialogListDialog
- All Implemented Interfaces:
Dialog,CopyableEntity<Dialog>,DeepComparableEntity,MappedEntity,net.kyori.adventure.dialog.DialogLike
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data -
Constructor Summary
ConstructorsConstructorDescriptionDialogListDialog(CommonDialogData common, MappedEntityRefSet<Dialog> dialogs, @Nullable ActionButton exitAction, int columns, int buttonWidth) DialogListDialog(@Nullable TypesBuilderData data, CommonDialogData common, MappedEntityRefSet<Dialog> dialogs, @Nullable ActionButton exitAction, int columns, int buttonWidth) -
Method Summary
Modifier and TypeMethodDescriptioncopy(@Nullable TypesBuilderData newData) static DialogListDialogdecode(NBTCompound compound, PacketWrapper<?> wrapper) booleandeepEquals(Object obj) intstatic voidencode(NBTCompound compound, PacketWrapper<?> wrapper, DialogListDialog dialog) intint@Nullable ActionButtonDialogType<?> getType()Methods inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
equals, getId, getName, getRegistryData, hashCode, isRegistered, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Constructor Details
-
DialogListDialog
public DialogListDialog(CommonDialogData common, MappedEntityRefSet<Dialog> dialogs, @Nullable @Nullable ActionButton exitAction, int columns, int buttonWidth) -
DialogListDialog
@Internal public DialogListDialog(@Nullable @Nullable TypesBuilderData data, CommonDialogData common, MappedEntityRefSet<Dialog> dialogs, @Nullable @Nullable ActionButton exitAction, int columns, int buttonWidth)
-
-
Method Details
-
decode
-
encode
-
copy
- Specified by:
copyin interfaceCopyableEntity<Dialog>
-
getCommon
-
getDialogs
-
getExitAction
-
getColumns
public int getColumns() -
getButtonWidth
public int getButtonWidth() -
getType
-
deepEquals
- Specified by:
deepEqualsin interfaceDeepComparableEntity
-
deepHashCode
public int deepHashCode()- Specified by:
deepHashCodein interfaceDeepComparableEntity
-