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 cvo
  • 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 Lcvo;a:Larg;
  • 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> Lcvo;<init>(Larg;)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 Lcum;b(Lcul;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 Lcum;c(Lcul;)V