Class CyclingSlotIcon

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

@Environment(CLIENT) public class CyclingSlotIcon extends Object
Mappings:
Namespace Name
official evn
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 Levn;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 Levn;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 Levn;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 Levn;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 Levn;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 Levn;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 Levn;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> Levn;<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 Levn;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, DrawContext context, float delta, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Levn;a(Lcaz;Leoj;FII)V
      intermediary method_48469 Lnet/minecraft/class_8064;method_48469(Lnet/minecraft/class_1703;Lnet/minecraft/class_332;FII)V
      named render Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;render(Lnet/minecraft/screen/ScreenHandler;Lnet/minecraft/client/gui/DrawContext;FII)V
    • drawIcon

      private void drawIcon(Slot slot, Identifier texture, float alpha, DrawContext context, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      official a Levn;a(Lccr;Lacq;FLeoj;II)V
      intermediary method_48470 Lnet/minecraft/class_8064;method_48470(Lnet/minecraft/class_1735;Lnet/minecraft/class_2960;FLnet/minecraft/class_332;II)V
      named drawIcon Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;drawIcon(Lnet/minecraft/screen/slot/Slot;Lnet/minecraft/util/Identifier;FLnet/minecraft/client/gui/DrawContext;II)V
    • computeAlpha

      private float computeAlpha(float delta)
      Mappings:
      Namespace Name Mixin selector
      official a Levn;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