Class StaticDialogType<T extends Dialog>
java.lang.Object
com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
com.github.retrooper.packetevents.protocol.dialog.StaticDialogType<T>
- All Implemented Interfaces:
DialogType<T>
,MappedEntity
@NullMarked
public class StaticDialogType<T extends Dialog>
extends AbstractMappedEntity
implements DialogType<T>
-
Field Summary
Fields inherited from class com.github.retrooper.packetevents.protocol.mapper.AbstractMappedEntity
data
-
Constructor Summary
ConstructorsConstructorDescriptionStaticDialogType
(@Nullable TypesBuilderData data, NbtMapDecoder<T> decoder, NbtMapEncoder<T> encoder) -
Method Summary
Modifier and TypeMethodDescriptiondecode
(NBTCompound compound, PacketWrapper<?> wrapper) void
encode
(NBTCompound compound, PacketWrapper<?> wrapper, T dialog) 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
-
Constructor Details
-
StaticDialogType
@Internal public StaticDialogType(@Nullable @Nullable TypesBuilderData data, NbtMapDecoder<T> decoder, NbtMapEncoder<T> encoder)
-
-
Method Details
-
decode
- Specified by:
decode
in interfaceDialogType<T extends Dialog>
-
encode
- Specified by:
encode
in interfaceDialogType<T extends Dialog>
-