net.minecraft.client.renderer.item.properties.select

public class LocalTime

implements SelectItemModelProperty<String>

hdg
net.minecraft.client.renderer.item.properties.select.LocalTime
net.minecraft.class_10532
net.minecraft.client.render.item.property.select.LocalTimeProperty
net.minecraft.src.C_370477_

Field summary

Modifier and TypeField
public static final String
a
ROOT_LOCALE
field_55512
DEFAULT_FORMATTED_TIME
f_370734_
private static final long
c
UPDATE_INTERVAL_MS
field_55514
MILLIS_PER_SECOND
f_370934_
private static final com.mojang.serialization.Codec<com.ibm.icu.util.TimeZone>
d
TIME_ZONE_CODEC
field_55515
TIME_ZONE_CODEC
f_371219_
private static final com.mojang.serialization.MapCodec<LocalTime$Data>
e
DATA_MAP_CODEC
field_55564
DATA_CODEC
f_370689_
public static final SelectItemModelProperty$Type<LocalTime, String>
b
TYPE
field_55513
TYPE
f_371294_
private final LocalTime$Data
f
data
field_55565
data
f_371501_
private final com.ibm.icu.text.DateFormat
g
parsedFormat
field_55519
dateFormat
f_370812_
private long
h
nextUpdateTimeMs
field_55520
nextUpdateTime
f_371457_
private String
i
lastResult
field_55521
currentTimeFormatted
f_371389_

Constructor summary

ModifierConstructor
private (LocalTime$Data data, com.ibm.icu.text.DateFormat dateFormat)

Method summary

Modifier and TypeMethod
public static LocalTime
a(String arg0, String arg1, Optional<com.ibm.icu.util.TimeZone> arg2)
create(String arg0, String arg1, Optional<com.ibm.icu.util.TimeZone> arg2)
method_65844(String arg0, String arg1, Optional<com.ibm.icu.util.TimeZone> arg2)
create(String pattern, String locale, Optional<com.ibm.icu.util.TimeZone> timeZone)
m_374023_(String p_377930_, String p_378328_, Optional<com.ibm.icu.util.TimeZone> p_375461_)
private static com.mojang.serialization.DataResult<LocalTime>
a(hdg$a arg0)
create(LocalTime$Data arg0)
method_65917(class_10532$class_10549 arg0)
validate(LocalTimeProperty$Data data)
m_373748_(C_370477_$C_370516_ p_378543_)
public String
a(cwq arg0, gga arg1, bvi arg2, int arg3, cwo arg4)
get(ItemStack arg0, ClientLevel arg1, LivingEntity arg2, int arg3, ItemDisplayContext arg4)
method_65841(class_1799 arg0, class_638 arg1, class_1309 arg2, int arg3, class_811 arg4)
getValue(ItemStack arg0, ClientWorld arg1, LivingEntity arg2, int arg3, ModelTransformationMode arg4)
m_372080_(C_1391_ p_377341_, C_3899_ p_377996_, C_524_ p_376733_, int p_377284_, C_268388_ arg4)
private String
b()
update()
method_65845()
formatCurrentTime()
m_373822_()
public SelectItemModelProperty$Type<LocalTime, String>
a()
type()
method_65674()
getType()
m_372373_()