Package net.minecraft

Record Class class_10741<T extends PersistentState>

java.lang.Object
java.lang.Record
net.minecraft.class_10741<T>
Record Components:
comp_3641 -
comp_3642 -
comp_3643 -
comp_3644 -

public record class_10741<T extends PersistentState>(String comp_3641, Function<PersistentState.class_10740,T extends PersistentState> comp_3642, Function<PersistentState.class_10740,com.mojang.serialization.Codec<T extends PersistentState>> comp_3643, DataFixTypes comp_3644) extends Record
Mappings:
Namespace Name
named net/minecraft/class_10741
intermediary net/minecraft/class_10741
official ext
named comp_3641
intermediary comp_3641
official a
named comp_3642
intermediary comp_3642
official b
named comp_3643
intermediary comp_3643
official c
named comp_3644
intermediary comp_3644
official d
  • Field Details

  • Constructor Details

  • Method Details

    • equals

      public 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.
    • hashCode

      public 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
    • toString

      public 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
    • comp_3641

      public String comp_3641()
      Returns the value of the comp_3641 record component.
      Returns:
      the value of the comp_3641 record component
    • comp_3642

      public Function<PersistentState.class_10740,T> comp_3642()
      Returns the value of the comp_3642 record component.
      Returns:
      the value of the comp_3642 record component
    • comp_3643

      public Function<PersistentState.class_10740,com.mojang.serialization.Codec<T>> comp_3643()
      Returns the value of the comp_3643 record component.
      Returns:
      the value of the comp_3643 record component
    • comp_3644

      public DataFixTypes comp_3644()
      Returns the value of the comp_3644 record component.
      Returns:
      the value of the comp_3644 record component