Class LocalTimeProperty
java.lang.Object
net.minecraft.client.render.item.property.select.LocalTimeProperty
- All Implemented Interfaces:
- SelectProperty<String>
@Environment(CLIENT)
public class LocalTimeProperty
extends Object
implements SelectProperty<String>
- Mappings:
- Namespace - Name - named - net/minecraft/client/render/item/property/select/LocalTimeProperty- intermediary - net/minecraft/class_10532- official - hdg
- 
Nested Class SummaryNested ClassesNested classes/interfaces inherited from interface net.minecraft.client.render.item.property.select.SelectPropertySelectProperty.Type<P extends SelectProperty<T>,T> 
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate Stringprivate final LocalTimeProperty.Dataprivate static final com.mojang.serialization.MapCodec<LocalTimeProperty.Data> private final DateFormatstatic final Stringprivate static final longprivate longprivate static final com.mojang.serialization.Codec<TimeZone> static final SelectProperty.Type<LocalTimeProperty, String> 
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprivateLocalTimeProperty(LocalTimeProperty.Data data, DateFormat dateFormat) 
- 
Method SummaryModifier and TypeMethodDescriptionstatic LocalTimePropertyprivate StringgetType()getValue(ItemStack itemStack, @Nullable ClientWorld clientWorld, @Nullable LivingEntity livingEntity, int int2, ModelTransformationMode modelTransformationMode) private static com.mojang.serialization.DataResult<LocalTimeProperty> 
- 
Field Details- 
DEFAULT_FORMATTED_TIME- See Also:
- Mappings:
- Namespace - Name - Mixin selector - named - DEFAULT_FORMATTED_TIME- Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;DEFAULT_FORMATTED_TIME:Ljava/lang/String;- intermediary - field_55512- Lnet/minecraft/class_10532;field_55512:Ljava/lang/String;- official - a- Lhdg;a:Ljava/lang/String;
 
- 
MILLIS_PER_SECONDprivate static final long MILLIS_PER_SECOND- Mappings:
- Namespace - Name - Mixin selector - named - MILLIS_PER_SECOND- Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;MILLIS_PER_SECOND:J- intermediary - field_55514- Lnet/minecraft/class_10532;field_55514:J- official - c- Lhdg;c:J
 
- 
TIME_ZONE_CODEC- Mappings:
- Namespace - Name - Mixin selector - named - TIME_ZONE_CODEC- Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;TIME_ZONE_CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_55515- Lnet/minecraft/class_10532;field_55515:Lcom/mojang/serialization/Codec;- official - d- Lhdg;d:Lcom/mojang/serialization/Codec;
 
- 
DATA_CODEC- Mappings:
- Namespace - Name - Mixin selector - named - DATA_CODEC- Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;DATA_CODEC:Lcom/mojang/serialization/MapCodec;- intermediary - field_55564- Lnet/minecraft/class_10532;field_55564:Lcom/mojang/serialization/MapCodec;- official - e- Lhdg;e:Lcom/mojang/serialization/MapCodec;
 
- 
TYPE- Mappings:
- Namespace - Name - Mixin selector - named - TYPE- Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;TYPE:Lnet/minecraft/client/render/item/property/select/SelectProperty$Type;- intermediary - field_55513- Lnet/minecraft/class_10532;field_55513:Lnet/minecraft/class_10494$class_10495;- official - b- Lhdg;b:Lhdj$a;
 
- 
data- Mappings:
- Namespace - Name - Mixin selector - named - data- Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;data:Lnet/minecraft/client/render/item/property/select/LocalTimeProperty$Data;- intermediary - field_55565- Lnet/minecraft/class_10532;field_55565:Lnet/minecraft/class_10532$class_10549;- official - f- Lhdg;f:Lhdg$a;
 
- 
dateFormat- Mappings:
- Namespace - Name - Mixin selector - named - dateFormat- Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;dateFormat:Lcom/ibm/icu/text/DateFormat;- intermediary - field_55519- Lnet/minecraft/class_10532;field_55519:Lcom/ibm/icu/text/DateFormat;- official - g- Lhdg;g:Lcom/ibm/icu/text/DateFormat;
 
- 
nextUpdateTimeprivate long nextUpdateTime- Mappings:
- Namespace - Name - Mixin selector - named - nextUpdateTime- Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;nextUpdateTime:J- intermediary - field_55520- Lnet/minecraft/class_10532;field_55520:J- official - h- Lhdg;h:J
 
- 
currentTimeFormatted- Mappings:
- Namespace - Name - Mixin selector - named - currentTimeFormatted- Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;currentTimeFormatted:Ljava/lang/String;- intermediary - field_55521- Lnet/minecraft/class_10532;field_55521:Ljava/lang/String;- official - i- Lhdg;i:Ljava/lang/String;
 
 
- 
- 
Constructor Details- 
LocalTimeProperty- Mappings:
- Namespace - Name - Mixin selector - named - <init>- Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;<init>(Lnet/minecraft/client/render/item/property/select/LocalTimeProperty$Data;Lcom/ibm/icu/text/DateFormat;)V- intermediary - <init>- Lnet/minecraft/class_10532;<init>(Lnet/minecraft/class_10532$class_10549;Lcom/ibm/icu/text/DateFormat;)V- official - <init>- Lhdg;<init>(Lhdg$a;Lcom/ibm/icu/text/DateFormat;)V
 
 
- 
- 
Method Details- 
create- Mappings:
- Namespace - Name - Mixin selector - named - create- Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;create(Ljava/lang/String;Ljava/lang/String;Ljava/util/Optional;)Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;- intermediary - method_65844- Lnet/minecraft/class_10532;method_65844(Ljava/lang/String;Ljava/lang/String;Ljava/util/Optional;)Lnet/minecraft/class_10532;- official - a- Lhdg;a(Ljava/lang/String;Ljava/lang/String;Ljava/util/Optional;)Lhdg;
 
- 
validateprivate static com.mojang.serialization.DataResult<LocalTimeProperty> validate(LocalTimeProperty.Data data) - Mappings:
- Namespace - Name - Mixin selector - named - validate- Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;validate(Lnet/minecraft/client/render/item/property/select/LocalTimeProperty$Data;)Lcom/mojang/serialization/DataResult;- intermediary - method_65917- Lnet/minecraft/class_10532;method_65917(Lnet/minecraft/class_10532$class_10549;)Lcom/mojang/serialization/DataResult;- official - a- Lhdg;a(Lhdg$a;)Lcom/mojang/serialization/DataResult;
 
- 
getValue@Nullable public @Nullable String getValue(ItemStack itemStack, @Nullable @Nullable ClientWorld clientWorld, @Nullable @Nullable LivingEntity livingEntity, int int2, ModelTransformationMode modelTransformationMode) - Specified by:
- getValuein interface- SelectProperty<String>
- Mappings:
- Namespace - Name - Mixin selector - named - getValue- Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;getValue(Lnet/minecraft/item/ItemStack;Lnet/minecraft/client/world/ClientWorld;Lnet/minecraft/entity/LivingEntity;ILnet/minecraft/item/ModelTransformationMode;)Ljava/lang/String;- intermediary - method_65841- Lnet/minecraft/class_10532;method_65841(Lnet/minecraft/class_1799;Lnet/minecraft/class_638;Lnet/minecraft/class_1309;ILnet/minecraft/class_811;)Ljava/lang/String;- official - a- Lhdg;a(Lcwq;Lgga;Lbvi;ILcwo;)Ljava/lang/String;
 
- 
formatCurrentTime- Mappings:
- Namespace - Name - Mixin selector - named - formatCurrentTime- Lnet/minecraft/client/render/item/property/select/LocalTimeProperty;formatCurrentTime()Ljava/lang/String;- intermediary - method_65845- Lnet/minecraft/class_10532;method_65845()Ljava/lang/String;- official - b- Lhdg;b()Ljava/lang/String;
 
- 
getType- Specified by:
- getTypein interface- SelectProperty<String>
- Mappings:
- Namespace - Name - Mixin selector - named - getType- Lnet/minecraft/client/render/item/property/select/SelectProperty;getType()Lnet/minecraft/client/render/item/property/select/SelectProperty$Type;- intermediary - method_65674- Lnet/minecraft/class_10494;method_65674()Lnet/minecraft/class_10494$class_10495;- official - a- Lhdj;a()Lhdj$a;
 
 
-