Interface Toast

All Known Implementing Classes:
AdvancementToast, RecipeToast, SystemToast, TutorialToast

@Environment(CLIENT) public interface Toast
Mappings:
Namespace Name
official ehx
intermediary net/minecraft/class_368
named net/minecraft/client/toast/Toast
  • Field Details

    • TEXTURE

      static final Identifier TEXTURE
      Mappings:
      Namespace Name Mixin selector
      official a Lehx;a:Laaj;
      intermediary field_2207 Lnet/minecraft/class_368;field_2207:Lnet/minecraft/class_2960;
      named TEXTURE Lnet/minecraft/client/toast/Toast;TEXTURE:Lnet/minecraft/util/Identifier;
    • TYPE

      static final Object TYPE
      Mappings:
      Namespace Name Mixin selector
      official b Lehx;b:Ljava/lang/Object;
      intermediary field_2208 Lnet/minecraft/class_368;field_2208:Ljava/lang/Object;
      named TYPE Lnet/minecraft/client/toast/Toast;TYPE:Ljava/lang/Object;
  • Method Details

    • draw

      Toast.Visibility draw(MatrixStack matrices, ToastManager manager, long startTime)
      Mappings:
      Namespace Name Mixin selector
      official a Lehx;a(Ldzs;Lehy;J)Lehx$a;
      intermediary method_1986 Lnet/minecraft/class_368;method_1986(Lnet/minecraft/class_4587;Lnet/minecraft/class_374;J)Lnet/minecraft/class_368$class_369;
      named draw Lnet/minecraft/client/toast/Toast;draw(Lnet/minecraft/client/util/math/MatrixStack;Lnet/minecraft/client/toast/ToastManager;J)Lnet/minecraft/client/toast/Toast$Visibility;
    • getType

      default Object getType()
      Mappings:
      Namespace Name Mixin selector
      official c Lehx;c()Ljava/lang/Object;
      intermediary method_1987 Lnet/minecraft/class_368;method_1987()Ljava/lang/Object;
      named getType Lnet/minecraft/client/toast/Toast;getType()Ljava/lang/Object;
    • getWidth

      default int getWidth()
      Mappings:
      Namespace Name Mixin selector
      official a Lehx;a()I
      intermediary method_29049 Lnet/minecraft/class_368;method_29049()I
      named getWidth Lnet/minecraft/client/toast/Toast;getWidth()I
    • getHeight

      default int getHeight()
      Mappings:
      Namespace Name Mixin selector
      official d Lehx;d()I
      intermediary method_29050 Lnet/minecraft/class_368;method_29050()I
      named getHeight Lnet/minecraft/client/toast/Toast;getHeight()I