Package net.minecraft.resource.metadata
Record Class PackFeatureSetMetadata
java.lang.Object
java.lang.Record
net.minecraft.resource.metadata.PackFeatureSetMetadata
- Record Components:
flags
-
- Mappings:
Namespace Name named net/minecraft/resource/metadata/PackFeatureSetMetadata
intermediary net/minecraft/class_7663
official auc
named flags
intermediary comp_994
official b
-
Field Summary
Modifier and TypeFieldDescriptionprivate static final com.mojang.serialization.Codec
<PackFeatureSetMetadata> private final FeatureSet
The field for theflags
record component.static final ResourceMetadataSerializer
<PackFeatureSetMetadata> -
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfinal boolean
Indicates whether some other object is "equal to" this one.flags()
Returns the value of theflags
record component.final int
hashCode()
Returns a hash code value for this object.final String
toString()
Returns a string representation of this record class.
-
Field Details
-
flags
The field for theflags
record component. -
CODEC
- Mappings:
Namespace Name Mixin selector named CODEC
Lnet/minecraft/resource/metadata/PackFeatureSetMetadata;CODEC:Lcom/mojang/serialization/Codec;
intermediary field_39997
Lnet/minecraft/class_7663;field_39997:Lcom/mojang/serialization/Codec;
official c
Lauc;c:Lcom/mojang/serialization/Codec;
-
SERIALIZER
- Mappings:
Namespace Name Mixin selector named SERIALIZER
Lnet/minecraft/resource/metadata/PackFeatureSetMetadata;SERIALIZER:Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;
intermediary field_39996
Lnet/minecraft/class_7663;field_39996:Lnet/minecraft/class_7677;
official a
Lauc;a:Lauu;
-
-
Constructor Details
-
PackFeatureSetMetadata
-
-
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)
. -
flags
Returns the value of theflags
record component.- Returns:
- the value of the
flags
record component
-