Class Scroller

java.lang.Object
net.minecraft.client.input.Scroller

@Environment(CLIENT) public class Scroller extends Object
Mappings:
Namespace Name
named net/minecraft/client/input/Scroller
intermediary net/minecraft/class_9928
official fmo
  • Field Details

    • cumulHorizontal

      private double cumulHorizontal
      Mappings:
      Namespace Name Mixin selector
      named cumulHorizontal Lnet/minecraft/client/input/Scroller;cumulHorizontal:D
      intermediary field_52764 Lnet/minecraft/class_9928;field_52764:D
      official a Lfmo;a:D
    • cumulVertical

      private double cumulVertical
      Mappings:
      Namespace Name Mixin selector
      named cumulVertical Lnet/minecraft/client/input/Scroller;cumulVertical:D
      intermediary field_52765 Lnet/minecraft/class_9928;field_52765:D
      official b Lfmo;b:D
  • Constructor Details

    • Scroller

      public Scroller()
  • Method Details

    • update

      public Vector2i update(double horizontal, double vertical)
      Mappings:
      Namespace Name Mixin selector
      named update Lnet/minecraft/client/input/Scroller;update(DD)Lorg/joml/Vector2i;
      intermediary method_61971 Lnet/minecraft/class_9928;method_61971(DD)Lorg/joml/Vector2i;
      official a Lfmo;a(DD)Lorg/joml/Vector2i;
    • scrollCycling

      public static int scrollCycling(double amount, int selectedIndex, int total)
      Mappings:
      Namespace Name Mixin selector
      named scrollCycling Lnet/minecraft/client/input/Scroller;scrollCycling(DII)I
      intermediary method_61972 Lnet/minecraft/class_9928;method_61972(DII)I
      official a Lfmo;a(DII)I