Class NoticeDialog
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.dialog.NoticeDialog
- All Implemented Interfaces:
Dialog
,CopyableEntity<Dialog>
,DeepComparableEntity
,MappedEntity
,net.kyori.adventure.dialog.DialogLike
-
Field Summary
FieldsFields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data
-
Constructor Summary
ConstructorsConstructorDescriptionNoticeDialog
(CommonDialogData common, ActionButton action) NoticeDialog
(@Nullable TypesBuilderData data, CommonDialogData common, ActionButton action) -
Method Summary
Modifier and TypeMethodDescriptioncopy
(@Nullable TypesBuilderData newData) static NoticeDialog
decode
(NBTCompound compound, PacketWrapper<?> wrapper) boolean
deepEquals
(Object obj) int
static void
encode
(NBTCompound compound, PacketWrapper<?> wrapper, NoticeDialog dialog) DialogType
<?> getType()
Methods inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
equals, getId, getName, getRegistryData, hashCode, isRegistered, toString
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.github.retrooper.packetevents.protocol.mapper.MappedEntity
getId, getName, isRegistered
-
Field Details
-
DEFAULT_ACTION
-
-
Constructor Details
-
NoticeDialog
-
NoticeDialog
@Internal public NoticeDialog(@Nullable @Nullable TypesBuilderData data, CommonDialogData common, ActionButton action)
-
-
Method Details
-
decode
-
encode
-
copy
- Specified by:
copy
in interfaceCopyableEntity<Dialog>
-
getCommon
-
getAction
-
getType
-
deepEquals
- Specified by:
deepEquals
in interfaceDeepComparableEntity
-
deepHashCode
public int deepHashCode()- Specified by:
deepHashCode
in interfaceDeepComparableEntity
-