Class DialogKeys

java.lang.Object
io.papermc.paper.registry.keys.DialogKeys

@NullMarked @GeneratedFrom("1.21.7-rc2") public final class DialogKeys extends Object
Vanilla keys for RegistryKey.DIALOG.
API Note:
The fields provided here are a direct representation of what is available from the vanilla game source. They may be changed (including removals) on any Minecraft version bump, so cross-version compatibility is not provided on the same level as it is on most of the other API.
  • Field Details

    • CUSTOM_OPTIONS

      public static final TypedKey<Dialog> CUSTOM_OPTIONS
      minecraft:custom_options
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
    • QUICK_ACTIONS

      public static final TypedKey<Dialog> QUICK_ACTIONS
      minecraft:quick_actions
      API Note:
      This field is version-dependant and may be removed in future Minecraft versions
  • Method Details

    • create

      public static TypedKey<Dialog> create(Key key)
      Creates a typed key for Dialog in the registry minecraft:dialog.
      Parameters:
      key - the value's key in the registry
      Returns:
      a new typed key