Package net.minecraft
Record Class class_10967.class_10968
java.lang.Object
java.lang.Record
net.minecraft.class_10967.class_10968
- Record Components:
pack-generated-
- Enclosing class:
class_10967
private static record class_10967.class_10968(PackResourceMetadata pack, class_10973 generated)
extends Record
- Mappings:
Namespace Name named net/minecraft/class_10967$class_10968intermediary net/minecraft/class_10967$class_10968official asf$anamed packintermediary comp_3903official bnamed generatedintermediary comp_3904official c
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final com.mojang.serialization.Codec<class_10967.class_10968> private final class_10973The field for thegeneratedrecord component.private final PackResourceMetadataThe field for thepackrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10968(PackResourceMetadata packResourceMetadata, class_10973 class_10973) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.Returns the value of thegeneratedrecord component.final inthashCode()Returns a hash code value for this object.pack()Returns the value of thepackrecord component.final StringtoString()Returns a string representation of this record class.
-
Field Details
-
pack
The field for thepackrecord component. -
generated
The field for thegeneratedrecord component. -
field_58286
- Mappings:
Namespace Name Mixin selector named field_58286Lnet/minecraft/class_10967$class_10968;field_58286:Lcom/mojang/serialization/Codec;intermediary field_58286Lnet/minecraft/class_10967$class_10968;field_58286:Lcom/mojang/serialization/Codec;official aLasf$a;a:Lcom/mojang/serialization/Codec;
-
-
Constructor Details
-
class_10968
class_10968(PackResourceMetadata packResourceMetadata, class_10973 class_10973)
-
-
Method Details
-
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). -
pack
Returns the value of thepackrecord component.- Returns:
- the value of the
packrecord component
-
generated
Returns the value of thegeneratedrecord component.- Returns:
- the value of the
generatedrecord component
-