Package net.minecraft

Record Class class_7712

java.lang.Object
java.lang.Record
net.minecraft.class_7712
Record Components:
dataPacks -
enabledFeatures -

public record class_7712(DataPackSettings dataPacks, class_7699 enabledFeatures) extends Record
Mappings:
Namespace Name
official cjr
intermediary net/minecraft/class_7712
named net/minecraft/class_7712
official d
intermediary comp_1010
named dataPacks
official e
intermediary comp_1011
named enabledFeatures
  • Field Details

    • dataPacks

      private final DataPackSettings dataPacks
      The field for the dataPacks record component.
    • enabledFeatures

      private final class_7699 enabledFeatures
      The field for the enabledFeatures record component.
    • field_40258

      public static final String field_40258
      See Also:
      Mappings:
      Namespace Name Mixin selector
      official a Lcjr;a:Ljava/lang/String;
      intermediary field_40258 Lnet/minecraft/class_7712;field_40258:Ljava/lang/String;
      named field_40258 Lnet/minecraft/class_7712;field_40258:Ljava/lang/String;
    • field_40259

      public static final com.mojang.serialization.Codec<class_7712> field_40259
      Mappings:
      Namespace Name Mixin selector
      official b Lcjr;b:Lcom/mojang/serialization/Codec;
      intermediary field_40259 Lnet/minecraft/class_7712;field_40259:Lcom/mojang/serialization/Codec;
      named field_40259 Lnet/minecraft/class_7712;field_40259:Lcom/mojang/serialization/Codec;
    • field_40260

      public static final class_7712 field_40260
      Mappings:
      Namespace Name Mixin selector
      official c Lcjr;c:Lcjr;
      intermediary field_40260 Lnet/minecraft/class_7712;field_40260:Lnet/minecraft/class_7712;
      named field_40260 Lnet/minecraft/class_7712;field_40260:Lnet/minecraft/class_7712;
  • Constructor Details

  • Method Details

    • method_45449

      public class_7712 method_45449(class_7699 class_7699)
      Mappings:
      Namespace Name Mixin selector
      official a Lcjr;a(Lbya;)Lcjr;
      intermediary method_45449 Lnet/minecraft/class_7712;method_45449(Lnet/minecraft/class_7699;)Lnet/minecraft/class_7712;
      named method_45449 Lnet/minecraft/class_7712;method_45449(Lnet/minecraft/class_7699;)Lnet/minecraft/class_7712;
    • toString

      public final String 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.
      Specified by:
      toString in class Record
      Returns:
      a string representation of this object
    • 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.
      Specified by:
      hashCode in class Record
      Returns:
      a hash code value for this object
    • equals

      public final boolean equals(Object object)
      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 with Objects::equals(Object,Object).
      Specified by:
      equals in class Record
      Parameters:
      object - the object with which to compare
      Returns:
      true if this object is the same as the object argument; false otherwise.
    • dataPacks

      public DataPackSettings dataPacks()
      Returns the value of the dataPacks record component.
      Returns:
      the value of the dataPacks record component
    • enabledFeatures

      public class_7699 enabledFeatures()
      Returns the value of the enabledFeatures record component.
      Returns:
      the value of the enabledFeatures record component