Record Class ThrownPotionSplitFix.class_10681

java.lang.Object
java.lang.Record
net.minecraft.datafixer.fix.ThrownPotionSplitFix.class_10681
Record Components:
itemFinder -
itemIdFinder -
Enclosing class:
ThrownPotionSplitFix

private static record ThrownPotionSplitFix.class_10681(com.mojang.datafixers.OpticFinder<?> itemFinder, com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> itemIdFinder) extends Record
Mappings:
Namespace Name
named net/minecraft/datafixer/fix/ThrownPotionSplitFix$class_10681
intermediary net/minecraft/class_10680$class_10681
official bkl$a
named itemFinder
intermediary comp_3558
official a
named itemIdFinder
intermediary comp_3559
official b
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    private final com.mojang.datafixers.OpticFinder<?>
    The field for the itemFinder record component.
    private final com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>>
    The field for the itemIdFinder record component.
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    class_10681(com.mojang.datafixers.OpticFinder<?> opticFinder, com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> opticFinder2)
     
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    final boolean
    equals(Object object)
    Indicates whether some other object is "equal to" this one.
    final int
    Returns a hash code value for this object.
    com.mojang.datafixers.OpticFinder<?>
    Returns the value of the itemFinder record component.
    com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>>
    Returns the value of the itemIdFinder record component.
    method_67102(com.mojang.datafixers.Typed<?> typed)
     
    final String
    Returns a string representation of this record class.

    Methods inherited from class java.lang.Object Link icon

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait
  • Field Details Link icon

    • itemFinder Link icon

      private final com.mojang.datafixers.OpticFinder<?> itemFinder
      The field for the itemFinder record component.
    • itemIdFinder Link icon

      private final com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> itemIdFinder
      The field for the itemIdFinder record component.
  • Constructor Details Link icon

    • class_10681 Link icon

      class_10681(com.mojang.datafixers.OpticFinder<?> opticFinder, com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> opticFinder2)
  • Method Details Link icon

    • method_67102 Link icon

      public String method_67102(com.mojang.datafixers.Typed<?> typed)
      Mappings:
      Namespace Name Mixin selector
      named method_67102 Lnet/minecraft/datafixer/fix/ThrownPotionSplitFix$class_10681;method_67102(Lcom/mojang/datafixers/Typed;)Ljava/lang/String;
      intermediary method_67102 Lnet/minecraft/class_10680$class_10681;method_67102(Lcom/mojang/datafixers/Typed;)Ljava/lang/String;
      official a Lbkl$a;a(Lcom/mojang/datafixers/Typed;)Ljava/lang/String;
    • toString Link icon

      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 Link icon

      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 Link icon

      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.
    • itemFinder Link icon

      public com.mojang.datafixers.OpticFinder<?> itemFinder()
      Returns the value of the itemFinder record component.
      Returns:
      the value of the itemFinder record component
    • itemIdFinder Link icon

      public com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> itemIdFinder()
      Returns the value of the itemIdFinder record component.
      Returns:
      the value of the itemIdFinder record component