net.minecraft.client.renderer.item.properties.numeric

public record UseDuration

implements RangeSelectItemModelProperty

hev
net.minecraft.client.renderer.item.properties.numeric.UseDuration
net.minecraft.class_10485
net.minecraft.client.render.item.property.numeric.UseDurationProperty

Field summary

Modifier and TypeField
private final boolean
b
remaining
comp_3414
remaining
public static final com.mojang.serialization.MapCodec<UseDuration>
a
MAP_CODEC
field_55414
CODEC

Constructor summary

ModifierConstructor
public (boolean arg0)

Method summary

Modifier and TypeMethod
public float
a(cxy arg0, ghz arg1, bwr arg2, int arg3)
get(ItemStack arg0, ClientLevel arg1, LivingEntity arg2, int arg3)
method_65644(class_1799 arg0, class_638 arg1, class_1309 arg2, int arg3)
getValue(ItemStack arg0, ClientWorld arg1, LivingEntity arg2, int arg3)
public com.mojang.serialization.MapCodec<UseDuration>
a()
type()
method_65643()
getCodec()
public static int
a(cxy arg0, bwr arg1)
useDuration(ItemStack arg0, LivingEntity arg1)
method_65673(class_1799 arg0, class_1309 arg1)
getTicksUsedSoFar(ItemStack stack, LivingEntity user)
public boolean
b()
remaining()
comp_3414()
remaining()