net.minecraft.world

public class Stopwatches

extends SavedData

cdl
net.minecraft.world.Stopwatches
net.minecraft.class_12110
net.minecraft.world.timer.stopwatch.StopwatchPersistentState

Field summary

Modifier and TypeField
private static final com.mojang.serialization.Codec<Stopwatches>
b
CODEC
field_63285
CODEC
public static final SavedDataType<Stopwatches>
a
TYPE
field_63284
STATE_TYPE
private final Map<Identifier, Stopwatch>
c
stopwatches
field_63286
stopwatches

Constructor summary

ModifierConstructor
private ()

Method summary

Modifier and TypeMethod
private static Stopwatches
a(Map<amo, Long> arg0)
unpack(Map<Identifier, Long> arg0)
method_75110(Map<class_2960, Long> arg0)
fromElapsedTimes(Map<Identifier, Long> times)
private Map<Identifier, Long>
d()
pack()
method_75116()
toElapsedTimes()
public Stopwatch
a(amo arg0)
get(Identifier arg0)
method_75106(class_2960 arg0)
get(Identifier id)
public boolean
a(amo arg0, cdk arg1)
add(Identifier arg0, Stopwatch arg1)
method_75107(class_2960 arg0, class_12109 arg1)
add(Identifier id, Stopwatch stopwatch)
public boolean
a(amo arg0, UnaryOperator<cdk> arg1)
update(Identifier arg0, UnaryOperator<Stopwatch> arg1)
method_75108(class_2960 arg0, UnaryOperator<class_12109> arg1)
update(Identifier id, UnaryOperator<Stopwatch> f)
public boolean
b(amo arg0)
remove(Identifier arg0)
method_75114(class_2960 arg0)
remove(Identifier id)
public boolean
P_()
isDirty()
method_79()
isDirty()
public List<Identifier>
b()
ids()
method_75113()
keys()
public static long
c()
currentTime()
method_75115()
getTimeMs()