Package net.minecraft.registry.tag
Record Class TagFile
java.lang.Object
java.lang.Record
net.minecraft.registry.tag.TagFile
- Record Components:
- entries-
- replace-
- Mappings:
- Namespace - Name - named - net/minecraft/registry/tag/TagFile- intermediary - net/minecraft/class_7475- official - ayb- named - entries- intermediary - comp_811- official - b- named - replace- intermediary - comp_812- official - c
- 
Field SummaryFields
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionentries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.booleanreplace()Returns the value of thereplacerecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
entriesThe field for theentriesrecord component.
- 
replaceprivate final boolean replaceThe field for thereplacerecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/registry/tag/TagFile;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_39269- Lnet/minecraft/class_7475;field_39269:Lcom/mojang/serialization/Codec;- official - a- Layb;a:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
TagFile
 
- 
- 
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.
- 
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 '=='.
- 
entriesReturns the value of theentriesrecord component.- Returns:
- the value of the entriesrecord component
 
- 
replacepublic boolean replace()Returns the value of thereplacerecord component.- Returns:
- the value of the replacerecord component
 
 
-