net.minecraft.client.render.item.property.numeric

public class TimeProperty

extends NeedleAngleState implements NumericProperty

All mapped superinterfaces:

NumericProperty

net.minecraft.client.renderer.item.properties.numeric.Time
net.minecraft.class_10483
net.minecraft.client.render.item.property.numeric.TimeProperty

Field summary

Modifier and TypeField
public static final com.mojang.serialization.MapCodec<TimeProperty>
MAP_CODEC
field_55409
CODEC
private final TimeProperty$Source
source
field_55556
source
private final Random
randomSource
field_55411
random
private final NeedleAngleState$Angler
wobbler
field_55412
angler

Constructor summary

ModifierConstructor
public (boolean wobble, TimeProperty$Source source)

Method summary

Modifier and TypeMethod
protected float
calculate(ItemStack itemStack, ClientLevel level, int seed, ItemOwner owner)
method_65654(class_1799 arg0, class_638 arg1, int arg2, class_11566 arg3)
getAngle(ItemStack arg0, ClientWorld arg1, int arg2, HeldItemContext arg3)
public com.mojang.serialization.MapCodec<TimeProperty>
type()
method_65643()
getCodec()
private static com.mojang.datafixers.kinds.App
lambda$static$0(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_65669(com.mojang.serialization.codecs.RecordCodecBuilder$Instance arg0)
method_65669(com.mojang.serialization.codecs.RecordCodecBuilder$Instance instance)
private static TimeProperty$Source
lambda$static$1(Time arg0)
method_65670(class_10483 arg0)
method_65670(TimeProperty property)