Package net.minecraft.util.dynamic
Record Class Codecs.TagEntryId
java.lang.Object
java.lang.Record
net.minecraft.util.dynamic.Codecs.TagEntryId
- Record Components:
- id-
- tag-
- Enclosing class:
- Codecs
- Mappings:
- Namespace - Name - named - net/minecraft/util/dynamic/Codecs$TagEntryId- intermediary - net/minecraft/class_5699$class_7476- official - azg$d- named - id- intermediary - comp_813- official - a- named - tag- intermediary - comp_814- official - b
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final IdentifierThe field for theidrecord component.private final booleanThe field for thetagrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionprivate StringasString()final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.id()Returns the value of theidrecord component.booleantag()Returns the value of thetagrecord component.toString()Returns a string representation of this record class.
- 
Field Details
- 
Constructor Details- 
TagEntryId
 
- 
- 
Method Details- 
toStringReturns a string representation of this record class. The representation contains the name of the class, followed by the name and value of each of the record components.
- 
asString- Mappings:
- Namespace - Name - Mixin selector - named - asString- Lnet/minecraft/util/dynamic/Codecs$TagEntryId;asString()Ljava/lang/String;- intermediary - method_43963- Lnet/minecraft/class_5699$class_7476;method_43963()Ljava/lang/String;- official - c- Lazg$d;c()Ljava/lang/String;
 
- 
hashCodepublic final int hashCode()Returns a hash code value for this object. The value is derived from the hash code of each of the record components.
- 
equalsIndicates 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. Reference components are compared withObjects::equals(Object,Object); primitive components are compared with '=='.
- 
idReturns the value of theidrecord component.- Returns:
- the value of the idrecord component
 
- 
tagpublic boolean tag()Returns the value of thetagrecord component.- Returns:
- the value of the tagrecord component
 
 
-