History - net.minecraft.world.item.component.UseCooldown

1.21.4

Names

dau

czv

Fields

Constructors

Methods

1.21.3

Names

dat

dau

net.minecraft.unmapped.C_elkynmne

net.minecraft.component.type.UseCooldownComponent

net.minecraft.world.item.component.Unbreakable

net.minecraft.world.item.component.UseCooldown

Fields

Constructors

Methods

int (): a, ticks, method_62860, m_bozsonlt, getCooldownTicks, m_353601_

int (): a, ticks, method_62860, m_bozsonlt, getCooldownTicks, getTicks, m_353601_

void (ItemStack, LivingEntity): a, apply, method_62862, m_vpoqolhn, set, m_vpoqolhn, m_353527_

void (ItemStack, LivingEntity): a, apply, method_62862, m_vpoqolhn, set, apply, m_353527_

1.21.2

Names

dat

net.minecraft.world.item.component.UseCooldown

net.minecraft.class_10130

net.minecraft.unmapped.C_elkynmne

net.minecraft.component.type.UseCooldownComponent

net.minecraft.unmapped.C_elkynmne

net.minecraft.src.C_345826_

net.minecraft.world.item.component.Unbreakable

Fields

float: c, seconds, comp_3091, f_hbxyohfl, seconds, seconds, f_347563_

Optional<ResourceLocation>: d, cooldownGroup, comp_3092, f_agyihdhw, cooldownGroup, cooldownGroup, f_348244_

com.mojang.serialization.Codec<UseCooldown>: a, CODEC, field_53799, f_kyeexlij, CODEC, CODEC, f_346235_

StreamCodec<RegistryFriendlyByteBuf, UseCooldown>: b, STREAM_CODEC, field_53800, f_doqjsovk, PACKET_CODEC, PACKET_CODEC, f_346954_

Constructors

(float)

(float, Optional<ResourceLocation>)

Methods

int (): a, ticks, method_62860, m_bozsonlt, getCooldownTicks, m_353601_

void (ItemStack, LivingEntity): a, apply, method_62862, m_vpoqolhn, set, m_vpoqolhn, m_353527_

float (): b, seconds, comp_3091, m_npzaxclb, seconds, seconds, f_347563_

Optional<ResourceLocation> (): c, cooldownGroup, comp_3092, m_wxegdfll, cooldownGroup, cooldownGroup, f_348244_