Class FormCache

java.lang.Object
org.geysermc.geyser.session.cache.FormCache

public class FormCache extends Object
  • Constructor Details

  • Method Details

    • hasFormOpen

      public boolean hasFormOpen()
    • addForm

      public int addForm(org.geysermc.cumulus.form.Form form)
    • showForm

      public void showForm(org.geysermc.cumulus.form.Form form)
    • allowSettingsRequest

      public boolean allowSettingsRequest()
      Returns:
      whether a settings form may be built for a request now
    • resendAfterContainerClose

      public void resendAfterContainerClose()
      Resends pending forms after the client closed a container, which would have hidden them.
    • resendAllForms

      public void resendAllForms()
    • handleResponse

      public void handleResponse(org.cloudburstmc.protocol.bedrock.packet.ModalFormResponsePacket response)
    • closeForms

      public void closeForms()