Package net.minecraft.advancement
Record Class PlayerAdvancementTracker.class_8780
java.lang.Object
java.lang.Record
net.minecraft.advancement.PlayerAdvancementTracker.class_8780
- Record Components:
map
-
- Enclosing class:
PlayerAdvancementTracker
private static record PlayerAdvancementTracker.class_8780(Map<Identifier,AdvancementProgress> map)
extends Record
- Mappings:
Namespace Name official afc$a
intermediary net/minecraft/class_2985$class_8780
named net/minecraft/advancement/PlayerAdvancementTracker$class_8780
official b
intermediary comp_1921
named map
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<PlayerAdvancementTracker.class_8780>
private final Map<Identifier,
AdvancementProgress> The field for themap
record component. -
Constructor Summary
ConstructorsConstructorDescriptionCreates an instance of aclass_8780
record class. -
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.map()
Returns the value of themap
record component.void
method_53644
(BiConsumer<Identifier, AdvancementProgress> biConsumer) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
map
The field for themap
record component. -
field_46075
- Mappings:
Namespace Name Mixin selector official a
Lafc$a;a:Lcom/mojang/serialization/Codec;
intermediary field_46075
Lnet/minecraft/class_2985$class_8780;field_46075:Lcom/mojang/serialization/Codec;
named field_46075
Lnet/minecraft/advancement/PlayerAdvancementTracker$class_8780;field_46075:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_8780
class_8780(Map<Identifier, AdvancementProgress> map) Creates an instance of aclass_8780
record class.- Parameters:
map
- the value for themap
record component
-
-
Method Details
-
method_53644
- Mappings:
Namespace Name Mixin selector official a
Lafc$a;a(Ljava/util/function/BiConsumer;)V
intermediary method_53644
Lnet/minecraft/class_2985$class_8780;method_53644(Ljava/util/function/BiConsumer;)V
named method_53644
Lnet/minecraft/advancement/PlayerAdvancementTracker$class_8780;method_53644(Ljava/util/function/BiConsumer;)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)
. -
map
Returns the value of themap
record component.- Returns:
- the value of the
map
record component
-