Interface ViaDialogBody

All Known Implementing Classes:
ViaItemBody, ViaTextBody

public interface ViaDialogBody
A ViaVersion-based body for a dialog.
  • Method Summary

    Modifier and Type
    Method
    Description
    com.viaversion.nbt.tag.CompoundTag
    toTag(com.viaversion.viaversion.util.SerializerVersion baseVersion, com.viaversion.viaversion.util.SerializerVersion targetVersion)
    Serialize this body for the given base and target serializers
  • Method Details

    • toTag

      com.viaversion.nbt.tag.CompoundTag toTag(com.viaversion.viaversion.util.SerializerVersion baseVersion, com.viaversion.viaversion.util.SerializerVersion targetVersion)
      Serialize this body for the given base and target serializers
      Parameters:
      baseVersion - the serializer of the server version the dialog is created for
      targetVersion - the serializer of the version the dialog is sent to
      Returns:
      the dialog body tag