Package net.minecraft.registry.tag
Record Class TagGroupLoader.TagDependencies
java.lang.Object
java.lang.Record
net.minecraft.registry.tag.TagGroupLoader.TagDependencies
- Record Components:
- entries-
- All Implemented Interfaces:
- DependencyTracker.Dependencies<Identifier>
- Enclosing class:
- TagGroupLoader<T>
private static record TagGroupLoader.TagDependencies(List<TagGroupLoader.TrackedEntry> entries)
extends Record
implements DependencyTracker.Dependencies<Identifier>
- Mappings:
- Namespace - Name - official - anm$b- intermediary - net/minecraft/class_3503$class_8522- named - net/minecraft/registry/tag/TagGroupLoader$TagDependencies- official - a- intermediary - comp_1486- named - entries
- 
Field SummaryFieldsModifier and TypeFieldDescriptionprivate final List<TagGroupLoader.TrackedEntry>The field for theentriesrecord component.
- 
Constructor SummaryConstructors
- 
Method SummaryModifier and TypeMethodDescriptionentries()Returns the value of theentriesrecord component.final booleanIndicates whether some other object is "equal to" this one.voidforDependencies(Consumer<Identifier> callback) voidforOptionalDependencies(Consumer<Identifier> callback) final inthashCode()Returns a hash code value for this object.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
entriesThe field for theentriesrecord component.
 
- 
- 
Constructor Details- 
TagDependenciesTagDependencies(List<TagGroupLoader.TrackedEntry> list) 
 
- 
- 
Method Details- 
forDependencies- Specified by:
- forDependenciesin interface- DependencyTracker.Dependencies<Identifier>
- Mappings:
- Namespace - Name - Mixin selector - official - a- Laof$a;a(Ljava/util/function/Consumer;)V- intermediary - method_51478- Lnet/minecraft/class_8523$class_8524;method_51478(Ljava/util/function/Consumer;)V- named - forDependencies- Lnet/minecraft/resource/DependencyTracker$Dependencies;forDependencies(Ljava/util/function/Consumer;)V
 
- 
forOptionalDependencies- Specified by:
- forOptionalDependenciesin interface- DependencyTracker.Dependencies<Identifier>
- Mappings:
- Namespace - Name - Mixin selector - official - b- Laof$a;b(Ljava/util/function/Consumer;)V- intermediary - method_51480- Lnet/minecraft/class_8523$class_8524;method_51480(Ljava/util/function/Consumer;)V- named - forOptionalDependencies- Lnet/minecraft/resource/DependencyTracker$Dependencies;forOptionalDependencies(Ljava/util/function/Consumer;)V
 
- 
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. All components in this record class are compared withObjects::equals(Object,Object).
- 
entriesReturns the value of theentriesrecord component.- Returns:
- the value of the entriesrecord component
 
 
-