Package net.minecraft.entity.player
Class ItemCooldownManager
java.lang.Object
net.minecraft.entity.player.ItemCooldownManager
- Direct Known Subclasses:
ServerItemCooldownManager
- Mappings:
Namespace Name intermediary net/minecraft/class_1796official cftnamed net/minecraft/entity/player/ItemCooldownManager
-
Nested Class Summary
Nested Classes -
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionfloatgetCooldownProgress(Item item, float tickDelta) booleanisCoolingDown(Item item) protected voidonCooldownUpdate(Item item) protected voidonCooldownUpdate(Item item, int duration) voidvoidvoidupdate()
-
Field Details
-
entries
- Mappings:
Namespace Name Mixin selector intermediary field_8024Lnet/minecraft/class_1796;field_8024:Ljava/util/Map;official aLcft;a:Ljava/util/Map;named entriesLnet/minecraft/entity/player/ItemCooldownManager;entries:Ljava/util/Map;
-
tick
private int tick- Mappings:
Namespace Name Mixin selector intermediary field_8025Lnet/minecraft/class_1796;field_8025:Iofficial bLcft;b:Inamed tickLnet/minecraft/entity/player/ItemCooldownManager;tick:I
-
-
Constructor Details
-
ItemCooldownManager
public ItemCooldownManager()
-
-
Method Details
-
isCoolingDown
- Mappings:
Namespace Name Mixin selector intermediary method_7904Lnet/minecraft/class_1796;method_7904(Lnet/minecraft/class_1792;)Zofficial aLcft;a(Lcfs;)Znamed isCoolingDownLnet/minecraft/entity/player/ItemCooldownManager;isCoolingDown(Lnet/minecraft/item/Item;)Z
-
getCooldownProgress
- Mappings:
Namespace Name Mixin selector intermediary method_7905Lnet/minecraft/class_1796;method_7905(Lnet/minecraft/class_1792;F)Fofficial aLcft;a(Lcfs;F)Fnamed getCooldownProgressLnet/minecraft/entity/player/ItemCooldownManager;getCooldownProgress(Lnet/minecraft/item/Item;F)F
-
update
public void update()- Mappings:
Namespace Name Mixin selector intermediary method_7903Lnet/minecraft/class_1796;method_7903()Vofficial aLcft;a()Vnamed updateLnet/minecraft/entity/player/ItemCooldownManager;update()V
-
set
- Mappings:
Namespace Name Mixin selector intermediary method_7906Lnet/minecraft/class_1796;method_7906(Lnet/minecraft/class_1792;I)Vofficial aLcft;a(Lcfs;I)Vnamed setLnet/minecraft/entity/player/ItemCooldownManager;set(Lnet/minecraft/item/Item;I)V
-
remove
- Mappings:
Namespace Name Mixin selector intermediary method_7900Lnet/minecraft/class_1796;method_7900(Lnet/minecraft/class_1792;)Vofficial bLcft;b(Lcfs;)Vnamed removeLnet/minecraft/entity/player/ItemCooldownManager;remove(Lnet/minecraft/item/Item;)V
-
onCooldownUpdate
- Mappings:
Namespace Name Mixin selector intermediary method_7902Lnet/minecraft/class_1796;method_7902(Lnet/minecraft/class_1792;I)Vofficial bLcft;b(Lcfs;I)Vnamed onCooldownUpdateLnet/minecraft/entity/player/ItemCooldownManager;onCooldownUpdate(Lnet/minecraft/item/Item;I)V
-
onCooldownUpdate
- Mappings:
Namespace Name Mixin selector intermediary method_7901Lnet/minecraft/class_1796;method_7901(Lnet/minecraft/class_1792;)Vofficial cLcft;c(Lcfs;)Vnamed onCooldownUpdateLnet/minecraft/entity/player/ItemCooldownManager;onCooldownUpdate(Lnet/minecraft/item/Item;)V
-