Record Class DataCache.class_7405

java.lang.Object
java.lang.Record
net.minecraft.data.DataCache.class_7405
Record Components:
version -
data -
Enclosing class:
DataCache

private static record DataCache.class_7405(String version, Map<Path,String> data) extends Record
Mappings:
Namespace Name
official it$b
intermediary net/minecraft/class_2408$class_7405
named net/minecraft/data/DataCache$class_7405
official a
intermediary comp_729
named version
official b
intermediary comp_730
named data
  • Field Details

    • version

      private final String version
      The field for the version record component.
    • data

      private final Map<Path,String> data
      The field for the data record component.
  • Constructor Details

  • Method Details

    • method_43357

      @Nullable public @Nullable String method_43357(Path path)
      Mappings:
      Namespace Name Mixin selector
      official a Lit$b;a(Ljava/nio/file/Path;)Ljava/lang/String;
      intermediary method_43357 Lnet/minecraft/class_2408$class_7405;method_43357(Ljava/nio/file/Path;)Ljava/lang/String;
      named method_43357 Lnet/minecraft/data/DataCache$class_7405;method_43357(Ljava/nio/file/Path;)Ljava/lang/String;
    • method_43358

      public void method_43358(Path path, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lit$b;a(Ljava/nio/file/Path;Ljava/lang/String;)V
      intermediary method_43358 Lnet/minecraft/class_2408$class_7405;method_43358(Ljava/nio/file/Path;Ljava/lang/String;)V
      named method_43358 Lnet/minecraft/data/DataCache$class_7405;method_43358(Ljava/nio/file/Path;Ljava/lang/String;)V
    • method_43356

      public int method_43356()
      Mappings:
      Namespace Name Mixin selector
      official a Lit$b;a()I
      intermediary method_43356 Lnet/minecraft/class_2408$class_7405;method_43356()I
      named method_43356 Lnet/minecraft/data/DataCache$class_7405;method_43356()I
    • method_43359

      public static DataCache.class_7405 method_43359(Path path, Path path2) throws IOException
      Throws:
      IOException
      Mappings:
      Namespace Name Mixin selector
      official a Lit$b;a(Ljava/nio/file/Path;Ljava/nio/file/Path;)Lit$b;
      intermediary method_43359 Lnet/minecraft/class_2408$class_7405;method_43359(Ljava/nio/file/Path;Ljava/nio/file/Path;)Lnet/minecraft/class_2408$class_7405;
      named method_43359 Lnet/minecraft/data/DataCache$class_7405;method_43359(Ljava/nio/file/Path;Ljava/nio/file/Path;)Lnet/minecraft/data/DataCache$class_7405;
    • method_43360

      public void method_43360(Path path, Path path2, String string)
      Mappings:
      Namespace Name Mixin selector
      official a Lit$b;a(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/lang/String;)V
      intermediary method_43360 Lnet/minecraft/class_2408$class_7405;method_43360(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/lang/String;)V
      named method_43360 Lnet/minecraft/data/DataCache$class_7405;method_43360(Ljava/nio/file/Path;Ljava/nio/file/Path;Ljava/lang/String;)V
    • 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.
    • version

      public String version()
      Returns the value of the version record component.
      Returns:
      the value of the version record component
    • data

      public Map<Path,String> data()
      Returns the value of the data record component.
      Returns:
      the value of the data record component