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

public class LocalTime

implements SelectItemModelProperty<String>

hff
net.minecraft.client.renderer.item.properties.select.LocalTime
net.minecraft.class_10532
net.minecraft.client.render.item.property.select.LocalTimeProperty

Field summary

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

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)
private static com.mojang.serialization.DataResult<LocalTime>
a(hff$a arg0)
create(LocalTime$Data arg0)
method_65917(class_10532$class_10549 arg0)
validate(LocalTimeProperty$Data data)
public String
a(cxy arg0, ghz arg1, bwr arg2, int arg3, cxw 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)
private String
b()
update()
method_65845()
formatCurrentTime()
public SelectItemModelProperty$Type<LocalTime, String>
a()
type()
method_65674()
getType()