Class ChatPreviewBackground

java.lang.Object
net.minecraft.client.gui.screen.ChatPreviewBackground

@Environment(CLIENT) public class ChatPreviewBackground extends Object
Mappings:
Namespace Name
official ehe
intermediary net/minecraft/class_7625
named net/minecraft/client/gui/screen/ChatPreviewBackground
  • Field Details

    • MAX_FADE_TIME

      private static final long MAX_FADE_TIME
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lehe;a:J
      intermediary field_39845 Lnet/minecraft/class_7625;field_39845:J
      named MAX_FADE_TIME Lnet/minecraft/client/gui/screen/ChatPreviewBackground;MAX_FADE_TIME:J
    • previewText

      @Nullable private @Nullable Text previewText
      Mappings:
      Namespace Name Mixin selector
      official b Lehe;b:Lrq;
      intermediary field_39846 Lnet/minecraft/class_7625;field_39846:Lnet/minecraft/class_2561;
      named previewText Lnet/minecraft/client/gui/screen/ChatPreviewBackground;previewText:Lnet/minecraft/text/Text;
    • currentFadeTime

      private long currentFadeTime
      Mappings:
      Namespace Name Mixin selector
      official c Lehe;c:J
      intermediary field_39847 Lnet/minecraft/class_7625;field_39847:J
      named currentFadeTime Lnet/minecraft/client/gui/screen/ChatPreviewBackground;currentFadeTime:J
    • lastRenderTime

      private long lastRenderTime
      Mappings:
      Namespace Name Mixin selector
      official d Lehe;d:J
      intermediary field_39848 Lnet/minecraft/class_7625;field_39848:J
      named lastRenderTime Lnet/minecraft/client/gui/screen/ChatPreviewBackground;lastRenderTime:J
  • Constructor Details

    • ChatPreviewBackground

      public ChatPreviewBackground()
  • Method Details

    • init

      public void init(long currentTime)
      Mappings:
      Namespace Name Mixin selector
      official a Lehe;a(J)V
      intermediary method_44922 Lnet/minecraft/class_7625;method_44922(J)V
      named init Lnet/minecraft/client/gui/screen/ChatPreviewBackground;init(J)V
    • computeRenderData

      public ChatPreviewBackground.RenderData computeRenderData(long currentTime, @Nullable @Nullable Text previewText)
      Mappings:
      Namespace Name Mixin selector
      official a Lehe;a(JLrq;)Lehe$a;
      intermediary method_44923 Lnet/minecraft/class_7625;method_44923(JLnet/minecraft/class_2561;)Lnet/minecraft/class_7625$class_7626;
      named computeRenderData Lnet/minecraft/client/gui/screen/ChatPreviewBackground;computeRenderData(JLnet/minecraft/text/Text;)Lnet/minecraft/client/gui/screen/ChatPreviewBackground$RenderData;
    • computeRenderDataWithText

      private ChatPreviewBackground.RenderData computeRenderDataWithText(long timeDelta, Text previewText)
      Mappings:
      Namespace Name Mixin selector
      official b Lehe;b(JLrq;)Lehe$a;
      intermediary method_44925 Lnet/minecraft/class_7625;method_44925(JLnet/minecraft/class_2561;)Lnet/minecraft/class_7625$class_7626;
      named computeRenderDataWithText Lnet/minecraft/client/gui/screen/ChatPreviewBackground;computeRenderDataWithText(JLnet/minecraft/text/Text;)Lnet/minecraft/client/gui/screen/ChatPreviewBackground$RenderData;
    • computeRenderDataWithoutText

      private ChatPreviewBackground.RenderData computeRenderDataWithoutText(long timeDelta)
      Mappings:
      Namespace Name Mixin selector
      official b Lehe;b(J)Lehe$a;
      intermediary method_44924 Lnet/minecraft/class_7625;method_44924(J)Lnet/minecraft/class_7625$class_7626;
      named computeRenderDataWithoutText Lnet/minecraft/client/gui/screen/ChatPreviewBackground;computeRenderDataWithoutText(J)Lnet/minecraft/client/gui/screen/ChatPreviewBackground$RenderData;
    • toAlpha

      private static float toAlpha(long timeDelta)
      Mappings:
      Namespace Name Mixin selector
      official c Lehe;c(J)F
      intermediary method_44926 Lnet/minecraft/class_7625;method_44926(J)F
      named toAlpha Lnet/minecraft/client/gui/screen/ChatPreviewBackground;toAlpha(J)F