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$bintermediary net/minecraft/class_3503$class_8522named net/minecraft/registry/tag/TagGroupLoader$TagDependenciesofficial aintermediary comp_1486named entries
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final List<TagGroupLoader.TrackedEntry>The field for theentriesrecord component. -
Constructor Summary
Constructors -
Method Summary
Modifier 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
-
entries
The field for theentriesrecord component.
-
-
Constructor Details
-
TagDependencies
TagDependencies(List<TagGroupLoader.TrackedEntry> list)
-
-
Method Details
-
forDependencies
- Specified by:
forDependenciesin interfaceDependencyTracker.Dependencies<Identifier>- Mappings:
Namespace Name Mixin selector official aLaof$a;a(Ljava/util/function/Consumer;)Vintermediary method_51478Lnet/minecraft/class_8523$class_8524;method_51478(Ljava/util/function/Consumer;)Vnamed forDependenciesLnet/minecraft/resource/DependencyTracker$Dependencies;forDependencies(Ljava/util/function/Consumer;)V
-
forOptionalDependencies
- Specified by:
forOptionalDependenciesin interfaceDependencyTracker.Dependencies<Identifier>- Mappings:
Namespace Name Mixin selector official bLaof$a;b(Ljava/util/function/Consumer;)Vintermediary method_51480Lnet/minecraft/class_8523$class_8524;method_51480(Ljava/util/function/Consumer;)Vnamed forOptionalDependenciesLnet/minecraft/resource/DependencyTracker$Dependencies;forOptionalDependencies(Ljava/util/function/Consumer;)V
-
toString
Returns 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. -
hashCode
public 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. -
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). -
entries
Returns the value of theentriesrecord component.- Returns:
- the value of the
entriesrecord component
-