Package net.minecraft.advancement
Record Class PlayerAdvancementTracker.ProgressMap
java.lang.Object
java.lang.Record
net.minecraft.advancement.PlayerAdvancementTracker.ProgressMap
- Record Components:
- map-
- Enclosing class:
- PlayerAdvancementTracker
private static record PlayerAdvancementTracker.ProgressMap(Map<Identifier,AdvancementProgress> map)
extends Record 
- Mappings:
- Namespace - Name - named - net/minecraft/advancement/PlayerAdvancementTracker$ProgressMap- intermediary - net/minecraft/class_2985$class_8780- official - ald$a- named - map- intermediary - comp_1921- official - b
- 
Field SummaryFieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PlayerAdvancementTracker.ProgressMap> private final Map<Identifier, AdvancementProgress> The field for themaprecord component.
- 
Constructor SummaryConstructorsConstructorDescriptionCreates an instance of aProgressMaprecord class.
- 
Method SummaryModifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.voidforEach(BiConsumer<Identifier, AdvancementProgress> consumer) final inthashCode()Returns a hash code value for this object.map()Returns the value of themaprecord component.final StringtoString()Returns a string representation of this record class.
- 
Field Details- 
mapThe field for themaprecord component.
- 
CODEC- Mappings:
- Namespace - Name - Mixin selector - named - CODEC- Lnet/minecraft/advancement/PlayerAdvancementTracker$ProgressMap;CODEC:Lcom/mojang/serialization/Codec;- intermediary - field_46075- Lnet/minecraft/class_2985$class_8780;field_46075:Lcom/mojang/serialization/Codec;- official - a- Lald$a;a:Lcom/mojang/serialization/Codec;
 
 
- 
- 
Constructor Details- 
ProgressMapProgressMap(Map<Identifier, AdvancementProgress> map) Creates an instance of aProgressMaprecord class.- Parameters:
- map- the value for the- maprecord component
 
 
- 
- 
Method Details- 
forEach- Mappings:
- Namespace - Name - Mixin selector - named - forEach- Lnet/minecraft/advancement/PlayerAdvancementTracker$ProgressMap;forEach(Ljava/util/function/BiConsumer;)V- intermediary - method_53644- Lnet/minecraft/class_2985$class_8780;method_53644(Ljava/util/function/BiConsumer;)V- official - a- Lald$a;a(Ljava/util/function/BiConsumer;)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).
- 
mapReturns the value of themaprecord component.- Returns:
- the value of the maprecord component
 
 
-