Record Class ConfigDescription
java.lang.Object
java.lang.Record
johnsmith.configoverhauled.api.data.ConfigDescription
- Record Components:
modId- The target namespace or mod identifier.category- The top-level classification category containing the target group.group- The structural grouping containing the target property.property- The exact registry or resource name of the target property.
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<ConfigDescription> Standard codec for network transmission and disk serialization of property coordinates. -
Constructor Summary
ConstructorsConstructorDescriptionConfigDescription(String modId, String category, String group, String property) Creates an instance of aConfigDescriptionrecord class. -
Method Summary
Modifier and TypeMethodDescriptioncategory()Returns the value of thecategoryrecord component.final booleanIndicates whether some other object is "equal to" this one.group()Returns the value of thegrouprecord component.final inthashCode()Returns a hash code value for this object.modId()Returns the value of themodIdrecord component.property()Returns the value of thepropertyrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
CODEC
Standard codec for network transmission and disk serialization of property coordinates.
-
-
Constructor Details
-
Method Details
-
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). -
modId
-
category
-
group
-
property
-