Class CyclingSlotIcon

java.lang.Object
net.minecraft.client.gui.screen.ingame.CyclingSlotIcon

@Environment(CLIENT) public class CyclingSlotIcon extends Object
Mappings:
Namespace Name
official euq
intermediary net/minecraft/class_8064
named net/minecraft/client/gui/screen/ingame/CyclingSlotIcon
  • Field Details

    • field_42039

      private static final int field_42039
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Leuq;a:I
      intermediary field_42039 Lnet/minecraft/class_8064;field_42039:I
      named field_42039 Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;field_42039:I
    • field_42040

      private static final int field_42040
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official b Leuq;b:I
      intermediary field_42040 Lnet/minecraft/class_8064;field_42040:I
      named field_42040 Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;field_42040:I
    • field_42041

      private static final int field_42041
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official c Leuq;c:I
      intermediary field_42041 Lnet/minecraft/class_8064;field_42041:I
      named field_42041 Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;field_42041:I
    • slotId

      private final int slotId
      Mappings:
      Namespace Name Mixin selector
      official d Leuq;d:I
      intermediary field_42042 Lnet/minecraft/class_8064;field_42042:I
      named slotId Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;slotId:I
    • textures

      private List<Identifier> textures
      Mappings:
      Namespace Name Mixin selector
      official e Leuq;e:Ljava/util/List;
      intermediary field_42043 Lnet/minecraft/class_8064;field_42043:Ljava/util/List;
      named textures Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;textures:Ljava/util/List;
    • timer

      private int timer
      Mappings:
      Namespace Name Mixin selector
      official f Leuq;f:I
      intermediary field_42044 Lnet/minecraft/class_8064;field_42044:I
      named timer Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;timer:I
    • currentIndex

      private int currentIndex
      Mappings:
      Namespace Name Mixin selector
      official g Leuq;g:I
      intermediary field_42045 Lnet/minecraft/class_8064;field_42045:I
      named currentIndex Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;currentIndex:I
  • Constructor Details

    • CyclingSlotIcon

      public CyclingSlotIcon(int slotId)
      Mappings:
      Namespace Name Mixin selector
      official <init> Leuq;<init>(I)V
      intermediary <init> Lnet/minecraft/class_8064;<init>(I)V
      named <init> Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;<init>(I)V
  • Method Details

    • updateTexture

      public void updateTexture(List<Identifier> textures)
      Mappings:
      Namespace Name Mixin selector
      official a Leuq;a(Ljava/util/List;)V
      intermediary method_48471 Lnet/minecraft/class_8064;method_48471(Ljava/util/List;)V
      named updateTexture Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;updateTexture(Ljava/util/List;)V
    • render

      public void render(ScreenHandler screenHandler, MatrixStack matrices, float delta, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Leuq;a(Lcbd;Lehe;FII)V
      intermediary method_48469 Lnet/minecraft/class_8064;method_48469(Lnet/minecraft/class_1703;Lnet/minecraft/class_4587;FII)V
      named render Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;render(Lnet/minecraft/screen/ScreenHandler;Lnet/minecraft/client/util/math/MatrixStack;FII)V
    • drawIcon

      private void drawIcon(Slot slot, Identifier texture, float alpha, MatrixStack matrices, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Leuq;a(Lccw;Ladd;FLehe;II)V
      intermediary method_48470 Lnet/minecraft/class_8064;method_48470(Lnet/minecraft/class_1735;Lnet/minecraft/class_2960;FLnet/minecraft/class_4587;II)V
      named drawIcon Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;drawIcon(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/util/Identifier;FLnet/minecraft/client/util/math/MatrixStack;II)V
    • computeAlpha

      private float computeAlpha(float delta)
      Mappings:
      Namespace Name Mixin selector
      official a Leuq;a(F)F
      intermediary method_48468 Lnet/minecraft/class_8064;method_48468(F)F
      named computeAlpha Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;computeAlpha(F)F