| net.minecraft.world.item.component.UseCooldown | |
| net.minecraft.class_10130 | |
| net.minecraft.component.type.UseCooldownComponent |
Field summary
| Modifier and Type | Field | ||||||
|---|---|---|---|---|---|---|---|
| private final float |
|
||||||
| private final Optional<Identifier> |
|
||||||
| public static final com.mojang.serialization.Codec<UseCooldownComponent> |
|
||||||
| public static final PacketCodec<RegistryByteBuf, UseCooldownComponent> |
|
Constructor summary
| Modifier | Constructor |
|---|---|
| public | (float seconds) |
| public | (float seconds, Optional<Identifier> cooldownGroup) |
Method summary
| Modifier and Type | Method | ||||||
|---|---|---|---|---|---|---|---|
| public int |
|
||||||
| public void |
|
||||||
| public float |
|
||||||
| public Optional<Identifier> |
|
||||||
| private static com.mojang.datafixers.kinds.App |
|