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 named net/minecraft/registry/tag/TagGroupLoader$TagDependencies
intermediary net/minecraft/class_3503$class_8522
official ayl$d
named entries
intermediary comp_1486
official a
-
Field Summary
Modifier and TypeFieldDescriptionprivate final List
<TagGroupLoader.TrackedEntry> The field for theentries
record component. -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionentries()
Returns the value of theentries
record component.final boolean
Indicates whether some other object is "equal to" this one.void
forDependencies
(Consumer<Identifier> callback) void
forOptionalDependencies
(Consumer<Identifier> callback) final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
entries
The field for theentries
record component.
-
-
Constructor Details
-
TagDependencies
TagDependencies(List<TagGroupLoader.TrackedEntry> list)
-
-
Method Details
-
forDependencies
- Specified by:
forDependencies
in interfaceDependencyTracker.Dependencies<Identifier>
- Mappings:
Namespace Name Mixin selector named forDependencies
Lnet/minecraft/resource/DependencyTracker$Dependencies;forDependencies(Ljava/util/function/Consumer;)V
intermediary method_51478
Lnet/minecraft/class_8523$class_8524;method_51478(Ljava/util/function/Consumer;)V
official a
Lazj$a;a(Ljava/util/function/Consumer;)V
-
forOptionalDependencies
- Specified by:
forOptionalDependencies
in interfaceDependencyTracker.Dependencies<Identifier>
- Mappings:
Namespace Name Mixin selector named forOptionalDependencies
Lnet/minecraft/resource/DependencyTracker$Dependencies;forOptionalDependencies(Ljava/util/function/Consumer;)V
intermediary method_51480
Lnet/minecraft/class_8523$class_8524;method_51480(Ljava/util/function/Consumer;)V
official b
Lazj$a;b(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 theentries
record component.- Returns:
- the value of the
entries
record component
-