Class CyclingSlotIcon

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

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

    • field_42039

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

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

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

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

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

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

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

    • CyclingSlotIcon

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

    • updateTexture

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

      public void render(ScreenHandler screenHandler, DrawContext context, float delta, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      named render Lnet/minecraft/client/gui/screen/ingame/CyclingSlotIcon;render(Lnet/minecraft/screen/ScreenHandler;Lnet/minecraft/client/gui/DrawContext;FII)V
      intermediary method_48469 Lnet/minecraft/class_8064;method_48469(Lnet/minecraft/class_1703;Lnet/minecraft/class_332;FII)V
      official a Lfpd;a(Lcps;Lfht;FII)V
    • drawIcon

      private void drawIcon(Slot slot, Identifier texture, float alpha, DrawContext context, int x, int y)
      Mappings:
      Namespace Name Mixin selector
      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
      intermediary method_48470 Lnet/minecraft/class_8064;method_48470(Lnet/minecraft/class_1735;Lnet/minecraft/class_2960;FLnet/minecraft/class_332;II)V
      official a Lfpd;a(Lcro;Lakq;FLfht;II)V
    • computeAlpha

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