net.minecraft.world.timeline

public class Timeline

fvn
net.minecraft.world.timeline.Timeline
net.minecraft.class_12329
net.minecraft.world.attribute.timeline.Timeline
net.minecraft.src.C_432104_
net.minecraft.world.timeline.Timeline

字段概要

修饰符与类型字段
public static final com.mojang.serialization.Codec<Holder<Timeline>>
a
CODEC
field_64397
REGISTRY_CODEC
f_435472_
private static final com.mojang.serialization.Codec<Map<EnvironmentAttribute<?>, AttributeTrack<?, ?>>>
d
TRACKS_CODEC
field_64400
TRACKS_BY_ATTRIBUTE_CODEC
f_435490_
public static final com.mojang.serialization.Codec<Timeline>
b
DIRECT_CODEC
field_64398
CODEC
f_433677_
public static final com.mojang.serialization.Codec<Timeline>
c
NETWORK_CODEC
field_64399
NETWORK_CODEC
f_433342_
private final Optional<Integer>
e
periodTicks
field_64401
periodTicks
f_436617_
private final Map<EnvironmentAttribute<?>, AttributeTrack<?, ?>>
f
tracks
field_64402
tracks
f_435575_

构造函数概要

修饰符构造函数
(Optional<Integer> periodTicks, Map<EnvironmentAttribute<?>, AttributeTrack<?, ?>> entries)

方法概要

修饰符与类型方法
private static Timeline
a(fvn arg0)
filterSyncableTracks(Timeline arg0)
method_76482(class_12329 arg0)
retainSyncedAttributes(Timeline timeline)
m_439753_(C_432104_ p_455349_)
private static com.mojang.serialization.DataResult<Timeline>
b(fvn arg0)
validateInternal(Timeline arg0)
method_76486(class_12329 arg0)
validate(Timeline timeline)
m_446998_(C_432104_ p_455741_)
public static Timeline$Builder
a()
builder()
method_76478()
builder()
m_439655_()
public long
a(dwo arg0)
getCurrentTicks(Level arg0)
method_76481(class_1937 arg0)
getEffectiveTimeOfDay(World world)
m_441525_(C_1596_ arg0)
public long
b(dwo arg0)
getTotalTicks(Level arg0)
method_76485(class_1937 arg0)
getRawTimeOfDay(World world)
m_447526_(C_1596_ arg0)
public Optional<Integer>
b()
periodTicks()
method_76484()
getPeriod()
m_444107_()
public Set<EnvironmentAttribute<?>>
c()
attributes()
method_76487()
getAttributes()
m_442339_()
public <Value> AttributeTrackSampler<Value, ?>
a(cea<Value> arg0, LongSupplier arg1)
createTrackSampler(EnvironmentAttribute<Value> arg0, LongSupplier arg1)
method_76479(class_12197<Value> arg0, LongSupplier arg1)
getModification(EnvironmentAttribute<Value> attribute, LongSupplier timeSupplier)
m_446846_(C_432417_<Value> p_457004_, LongSupplier arg1)