Package net.minecraft
Record Class class_7712
java.lang.Object
java.lang.Record
net.minecraft.class_7712
- Record Components:
dataPacks-enabledFeatures-
- Mappings:
Namespace Name official cjrintermediary net/minecraft/class_7712named net/minecraft/class_7712official dintermediary comp_1010named dataPacksofficial eintermediary comp_1011named enabledFeatures
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final DataPackSettingsThe field for thedataPacksrecord component.private final class_7699The field for theenabledFeaturesrecord component.static final Stringstatic final com.mojang.serialization.Codec<class_7712>static final class_7712 -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the value of thedataPacksrecord component.Returns the value of theenabledFeaturesrecord component.final booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.method_45449(class_7699 class_7699) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
dataPacks
The field for thedataPacksrecord component. -
enabledFeatures
The field for theenabledFeaturesrecord component. -
field_40258
- See Also:
- Mappings:
Namespace Name Mixin selector official aLcjr;a:Ljava/lang/String;intermediary field_40258Lnet/minecraft/class_7712;field_40258:Ljava/lang/String;named field_40258Lnet/minecraft/class_7712;field_40258:Ljava/lang/String;
-
field_40259
- Mappings:
Namespace Name Mixin selector official bLcjr;b:Lcom/mojang/serialization/Codec;intermediary field_40259Lnet/minecraft/class_7712;field_40259:Lcom/mojang/serialization/Codec;named field_40259Lnet/minecraft/class_7712;field_40259:Lcom/mojang/serialization/Codec;
-
field_40260
- Mappings:
Namespace Name Mixin selector official cLcjr;c:Lcjr;intermediary field_40260Lnet/minecraft/class_7712;field_40260:Lnet/minecraft/class_7712;named field_40260Lnet/minecraft/class_7712;field_40260:Lnet/minecraft/class_7712;
-
-
Constructor Details
-
class_7712
-
-
Method Details
-
method_45449
- Mappings:
Namespace Name Mixin selector official aLcjr;a(Lbya;)Lcjr;intermediary method_45449Lnet/minecraft/class_7712;method_45449(Lnet/minecraft/class_7699;)Lnet/minecraft/class_7712;named method_45449Lnet/minecraft/class_7712;method_45449(Lnet/minecraft/class_7699;)Lnet/minecraft/class_7712;
-
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). -
dataPacks
Returns the value of thedataPacksrecord component.- Returns:
- the value of the
dataPacksrecord component
-
enabledFeatures
Returns the value of theenabledFeaturesrecord component.- Returns:
- the value of the
enabledFeaturesrecord component
-