dau | |
net.minecraft.world.item.component.UseCooldown | |
net.minecraft.class_10130 | |
net.minecraft.component.type.UseCooldownComponent | |
net.minecraft.world.item.component.UseCooldown |
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 arg0, Optional<ResourceLocation> arg1) |
Method summary
Modifier and Type | Method | ||||||||
---|---|---|---|---|---|---|---|---|---|
public int |
| ||||||||
public void |
| ||||||||
public float |
| ||||||||
public Optional<ResourceLocation> |
|