net.minecraft.world.timeline

public class AttributeTrackSampler<Value, Argument>

implements EnvironmentAttributeLayer$TimeBased<Value>

fvm
net.minecraft.world.timeline.AttributeTrackSampler
net.minecraft.class_12328
net.minecraft.world.attribute.timeline.TrackAttributeModification
net.minecraft.src.C_432667_
net.minecraft.world.timeline.AttributeTrackSampler

字段概要

修饰符与类型字段
private final AttributeModifier<Value, Argument>
a
modifier
field_64392
modifiers
f_436455_
private final KeyframeTrackSampler<Argument>
b
argumentSampler
field_64393
evaluator
f_436042_
private final LongSupplier
c
dayTimeGetter
field_64394
timeSupplier
f_436424_
private int
d
cachedTickId
field_64395
lastComputedTime
f_434305_
private Argument
e
cachedArgument
field_64396
lastComputedValue
f_436179_

构造函数概要

修饰符构造函数
public (Optional<Integer> period, AttributeModifier<Value, Argument> modifiers, KeyframeTrack<Argument> track, LerpFunction<Argument> interpolator, LongSupplier timeSupplier)

方法概要

修饰符与类型方法
public Value
applyTimeBased(Value arg0, int arg1)
applyTimeBased(Value arg0, int arg1)
applyTimeBased(Value arg0, int arg1)
applyTimeBased(Value arg0, int arg1)
m_441223_(Value p_459566_, int arg1)