net.minecraft.world.timer.stopwatch

public class StopwatchPersistentState

extends PersistentState

net.minecraft.world.Stopwatches
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<StopwatchPersistentState>
CODEC
CODEC
field_63285
CODEC
public static final PersistentStateType<StopwatchPersistentState>
TYPE
TYPE
field_63284
STATE_TYPE
private final Map<Identifier, Stopwatch>
stopwatches
stopwatches
field_63286
stopwatches

Constructor summary

ModifierConstructor
private ()

Method summary

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