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 |
Field summary
Modifier and Type | Field | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
private final float |
| ||||||||||||||
private final Optional<ResourceLocation> |
| ||||||||||||||
public static final com.mojang.serialization.Codec<UseCooldown> |
| ||||||||||||||
public static final StreamCodec<RegistryFriendlyByteBuf, UseCooldown> |
|
Constructor summary
Modifier | Constructor |
---|---|
public | (float seconds) |
public | (float seconds, Optional<ResourceLocation> cooldownGroup) |
Method summary
Modifier and Type | Method | ||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
public int |
| ||||||||||||||
public void |
| ||||||||||||||
public float |
| ||||||||||||||
public Optional<ResourceLocation> |
|