Class ServerItemCooldownManager

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

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

    • player

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

    • ServerItemCooldownManager

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

    • onCooldownUpdate

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

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