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 official ajj
intermediary net/minecraft/class_7663
named net/minecraft/resource/metadata/PackFeatureSetMetadata
official b
intermediary comp_994
named flags
-
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 official c
Lajj;c:Lcom/mojang/serialization/Codec;
intermediary field_39997
Lnet/minecraft/class_7663;field_39997:Lcom/mojang/serialization/Codec;
named CODEC
Lnet/minecraft/resource/metadata/PackFeatureSetMetadata;CODEC:Lcom/mojang/serialization/Codec;
-
SERIALIZER
- Mappings:
Namespace Name Mixin selector official a
Lajj;a:Lajy;
intermediary field_39996
Lnet/minecraft/class_7663;field_39996:Lnet/minecraft/class_7677;
named SERIALIZER
Lnet/minecraft/resource/metadata/PackFeatureSetMetadata;SERIALIZER:Lnet/minecraft/resource/metadata/ResourceMetadataSerializer;
-
-
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
-