Class Cooldown

java.lang.Object
net.minecraft.util.Cooldown

public class Cooldown extends Object
Mappings:
Namespace Name
named net/minecraft/util/Cooldown
intermediary net/minecraft/class_10222
official bbe
  • Field Details

    • increment

      private final int increment
      Mappings:
      Namespace Name Mixin selector
      named increment Lnet/minecraft/util/Cooldown;increment:I
      intermediary field_54295 Lnet/minecraft/class_10222;field_54295:I
      official a Lbbe;a:I
    • threshold

      private final int threshold
      Mappings:
      Namespace Name Mixin selector
      named threshold Lnet/minecraft/util/Cooldown;threshold:I
      intermediary field_54296 Lnet/minecraft/class_10222;field_54296:I
      official b Lbbe;b:I
    • current

      private int current
      Mappings:
      Namespace Name Mixin selector
      named current Lnet/minecraft/util/Cooldown;current:I
      intermediary field_54297 Lnet/minecraft/class_10222;field_54297:I
      official c Lbbe;c:I
  • Constructor Details

    • Cooldown

      public Cooldown(int increment, int threshold)
      Mappings:
      Namespace Name Mixin selector
      named <init> Lnet/minecraft/util/Cooldown;<init>(II)V
      intermediary <init> Lnet/minecraft/class_10222;<init>(II)V
      official <init> Lbbe;<init>(II)V
  • Method Details

    • increment

      public void increment()
      Mappings:
      Namespace Name Mixin selector
      named increment Lnet/minecraft/util/Cooldown;increment()V
      intermediary method_64267 Lnet/minecraft/class_10222;method_64267()V
      official a Lbbe;a()V
    • tick

      public void tick()
      Mappings:
      Namespace Name Mixin selector
      named tick Lnet/minecraft/util/Cooldown;tick()V
      intermediary method_64268 Lnet/minecraft/class_10222;method_64268()V
      official b Lbbe;b()V
    • canUse

      public boolean canUse()
      Mappings:
      Namespace Name Mixin selector
      named canUse Lnet/minecraft/util/Cooldown;canUse()Z
      intermediary method_64269 Lnet/minecraft/class_10222;method_64269()Z
      official c Lbbe;c()Z