net.minecraft.world.attribute.timeline

public class Timeline

fvn
net.minecraft.world.timeline.Timeline
net.minecraft.class_12329
net.minecraft.world.attribute.timeline.Timeline
net.minecraft.unmapped.C_dozxwuad
net.minecraft.entity.ai.brain.ScheduleRule
net.minecraft.src.C_432104_

Field summary

Modifier and TypeField
public static final com.mojang.serialization.Codec<RegistryEntry<Timeline>>
a
CODEC
field_64397
REGISTRY_CODEC
f_taqtecns
f_435472_
private static final com.mojang.serialization.Codec<Map<EnvironmentAttribute<?>, TimelineEntry<?, ?>>>
d
TRACKS_CODEC
field_64400
TRACKS_BY_ATTRIBUTE_CODEC
f_dyrgofdr
f_435490_
public static final com.mojang.serialization.Codec<Timeline>
b
DIRECT_CODEC
field_64398
CODEC
f_dvgbkxui
f_433677_
public static final com.mojang.serialization.Codec<Timeline>
c
NETWORK_CODEC
field_64399
NETWORK_CODEC
f_wapuzipq
f_433342_
private final Optional<Integer>
e
periodTicks
field_64401
periodTicks
f_xzjsccoe
periodTicks
f_436617_
private final Map<EnvironmentAttribute<?>, TimelineEntry<?, ?>>
f
tracks
field_64402
tracks
f_ouzhccmo
tracks
f_435575_

Constructor summary

ModifierConstructor
(Optional<Integer> periodTicks, Map<EnvironmentAttribute<?>, TimelineEntry<?, ?>> entries)

Method summary

Modifier and TypeMethod
private static Timeline
a(fvn o)
filterSyncableTracks(Timeline arg0)
method_76482(class_12329 arg0)
retainSyncedAttributes(Timeline timeline)
m_zyqfwmpt(C_dozxwuad arg0)
m_439753_(C_432104_ p_455349_)
private static com.mojang.serialization.DataResult<Timeline>
b(fvn o)
validateInternal(Timeline arg0)
method_76486(class_12329 arg0)
validate(Timeline timeline)
m_krdzlnip(C_dozxwuad arg0)
m_446998_(C_432104_ p_455741_)
public static Timeline$Builder
a()
builder()
method_76478()
builder()
m_xpfgyubi()
m_439655_()
public long
a(dwo arg0)
getCurrentTicks(Level arg0)
method_76481(class_1937 arg0)
getEffectiveTimeOfDay(World world)
m_fdscwirb(C_cdctfzbn arg0)
m_fdscwirb(World world)
m_441525_(C_1596_ arg0)
public long
b(dwo arg0)
getTotalTicks(Level arg0)
method_76485(class_1937 arg0)
getRawTimeOfDay(World world)
m_tjdrztuo(C_cdctfzbn arg0)
m_tjdrztuo(World world)
m_447526_(C_1596_ arg0)
public Optional<Integer>
b()
periodTicks()
method_76484()
getPeriod()
m_ribmywmo()
m_444107_()
public Set<EnvironmentAttribute<?>>
c()
attributes()
method_76487()
getAttributes()
m_szoyzcme()
m_442339_()
public <Value> TrackAttributeModification<Value, ?>
a(cea<Value> o, LongSupplier arg1)
createTrackSampler(EnvironmentAttribute<Value> arg0, LongSupplier arg1)
method_76479(class_12197<Value> arg0, LongSupplier arg1)
getModification(EnvironmentAttribute<Value> attribute, LongSupplier timeSupplier)
m_ykejnmuf(C_gzjpaxne<Value> arg0, LongSupplier arg1)
m_446846_(C_432417_<Value> p_457004_, LongSupplier arg1)