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

25w04a

Names

czv

dby

Fields

float: c, seconds, comp_3091, seconds, f_347563_

float: c, seconds, comp_3091, seconds

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

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

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

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

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

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

Constructors

Methods

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

int (): a, ticks, method_62860, getCooldownTicks

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

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

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

float (): b, seconds, comp_3091, seconds

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

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

1.21.4

Names

dau

czv

Fields

Constructors

Methods

1.21.3

Names

dau

net.minecraft.world.item.component.UseCooldown

net.minecraft.class_10130

net.minecraft.component.type.UseCooldownComponent

net.minecraft.src.C_345826_

net.minecraft.world.item.component.UseCooldown

Fields

float: c, seconds, comp_3091, seconds, f_347563_

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

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

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

Constructors

(float)

(float, Optional<ResourceLocation>)

Methods

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

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

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

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