Record Class DeprecatedTranslationsInfo
java.lang.Object
java.lang.Record
net.minecraft.locale.DeprecatedTranslationsInfo
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<DeprecatedTranslationsInfo> static final DeprecatedTranslationsInfoprivate static final org.slf4j.LoggerThe field for theremovedrecord component.The field for therenamedrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidapplyToMap(Map<String, String> translations) final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.static DeprecatedTranslationsInfostatic DeprecatedTranslationsInfoloadFromJson(InputStream stream) static DeprecatedTranslationsInfoloadFromResource(String path) removed()Returns the value of theremovedrecord component.renamed()Returns the value of therenamedrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
removed
-
renamed
-
LOGGER
private static final org.slf4j.Logger LOGGER -
EMPTY
-
CODEC
-
-
Constructor Details
-
DeprecatedTranslationsInfo
-
-
Method Details
-
loadFromJson
-
loadFromResource
-
loadFromDefaultResource
-
applyToMap
-
toString
-
hashCode
-
equals
Indicates whether some other object is "equal to" this one. The objects are equal if the other object is of the same class and if all the record components are equal. All components in this record class are compared withObjects::equals(Object,Object). -
removed
-
renamed
-