Class ServerItemCooldownManager

java.lang.Object
net.minecraft.entity.player.ItemCooldownManager
net.minecraft.server.network.ServerItemCooldownManager

public class ServerItemCooldownManager extends ItemCooldownManager
Mappings:
Namespace Name
official cbr
intermediary net/minecraft/class_1817
named net/minecraft/server/network/ServerItemCooldownManager
  • Field Details

    • player

      private final ServerPlayerEntity player
      Mappings:
      Namespace Name Mixin selector
      official a Lcbr;a:Lagh;
      intermediary field_8910 Lnet/minecraft/class_1817;field_8910:Lnet/minecraft/class_3222;
      named player Lnet/minecraft/server/network/ServerItemCooldownManager;player:Lnet/minecraft/server/network/ServerPlayerEntity;
  • Constructor Details

    • ServerItemCooldownManager

      public ServerItemCooldownManager(ServerPlayerEntity player)
      Mappings:
      Namespace Name Mixin selector
      official <init> Lcbr;<init>(Lagh;)V
      intermediary <init> Lnet/minecraft/class_1817;<init>(Lnet/minecraft/class_3222;)V
      named <init> Lnet/minecraft/server/network/ServerItemCooldownManager;<init>(Lnet/minecraft/server/network/ServerPlayerEntity;)V
  • Method Details

    • onCooldownUpdate

      protected void onCooldownUpdate(Item item, int duration)
      Overrides:
      onCooldownUpdate in class ItemCooldownManager
      Mappings:
      Namespace Name Mixin selector
      official b Lcau;b(Lcat;I)V
      intermediary method_7902 Lnet/minecraft/class_1796;method_7902(Lnet/minecraft/class_1792;I)V
      named onCooldownUpdate Lnet/minecraft/entity/player/ItemCooldownManager;onCooldownUpdate(Lnet/minecraft/item/Item;I)V
    • onCooldownUpdate

      protected void onCooldownUpdate(Item item)
      Overrides:
      onCooldownUpdate in class ItemCooldownManager
      Mappings:
      Namespace Name Mixin selector
      official c Lcau;c(Lcat;)V
      intermediary method_7901 Lnet/minecraft/class_1796;method_7901(Lnet/minecraft/class_1792;)V
      named onCooldownUpdate Lnet/minecraft/entity/player/ItemCooldownManager;onCooldownUpdate(Lnet/minecraft/item/Item;)V