Class ServerData.ChatPreview

java.lang.Object
net.minecraft.client.multiplayer.ServerData.ChatPreview
Enclosing class:
ServerData

public static class ServerData.ChatPreview extends Object
  • Field Details

    • CODEC

      public static final com.mojang.serialization.Codec<ServerData.ChatPreview> CODEC
    • acknowledged

      private boolean acknowledged
    • toastShown

      private boolean toastShown
  • Constructor Details

    • ChatPreview

      ChatPreview(boolean p_233824_, boolean p_233825_)
  • Method Details

    • acknowledge

      public void acknowledge()
    • showToast

      public boolean showToast()
    • isAcknowledged

      public boolean isAcknowledged()
    • copy

      private ServerData.ChatPreview copy()