Class RollingMemoryChatLog

java.lang.Object
net.minecraft.client.multiplayer.chat.RollingMemoryChatLog
All Implemented Interfaces:
ChatLog

public class RollingMemoryChatLog extends Object implements ChatLog
  • Field Details

    • buffer

      private final LoggedChatEvent[] buffer
    • newestId

      private int newestId
    • oldestId

      private int oldestId
  • Constructor Details

    • RollingMemoryChatLog

      public RollingMemoryChatLog(int p_239903_)
  • Method Details

    • push

      public void push(LoggedChatEvent p_242377_)
      Specified by:
      push in interface ChatLog
    • nextId

      private int nextId()
    • lookup

      @Nullable public LoggedChatEvent lookup(int p_242175_)
      Specified by:
      lookup in interface ChatLog
    • index

      private int index(int p_239511_)
    • contains

      public boolean contains(int p_239977_)
      Specified by:
      contains in interface ChatLog
    • offset

      public int offset(int p_240086_, int p_240087_)
      Specified by:
      offset in interface ChatLog
    • newest

      public int newest()
      Specified by:
      newest in interface ChatLog
    • oldest

      public int oldest()
      Specified by:
      oldest in interface ChatLog