Class ServerItemCooldownManager

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

public class ServerItemCooldownManager extends ItemCooldownManager
Mappings:
Namespace Name
official ceo
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 Lceo;a:Lahn;
      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> Lceo;<init>(Lahn;)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 Lcdq;b(Lcdp;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 Lcdq;c(Lcdp;)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