Package net.minecraft.datafixer.fix
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_10681intermediary net/minecraft/class_10680$class_10681official bkl$anamed itemFinderintermediary comp_3558official anamed itemIdFinderintermediary comp_3559official b
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final com.mojang.datafixers.OpticFinder<?> The field for theitemFinderrecord component.The field for theitemIdFinderrecord component. -
Constructor Summary
ConstructorsConstructorDescriptionclass_10681(com.mojang.datafixers.OpticFinder<?> opticFinder, com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String, String>> opticFinder2) -
Method Summary
Modifier and TypeMethodDescriptionfinal booleanIndicates whether some other object is "equal to" this one.final inthashCode()Returns a hash code value for this object.com.mojang.datafixers.OpticFinder<?> Returns the value of theitemFinderrecord component.Returns the value of theitemIdFinderrecord component.method_67102(com.mojang.datafixers.Typed<?> typed) final StringtoString()Returns a string representation of this record class.
-
Field Details
-
itemFinder
private final com.mojang.datafixers.OpticFinder<?> itemFinderThe field for theitemFinderrecord component. -
itemIdFinder
private final com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> itemIdFinderThe field for theitemIdFinderrecord component.
-
-
Constructor Details
-
class_10681
-
-
Method Details
-
method_67102
- Mappings:
Namespace Name Mixin selector named method_67102Lnet/minecraft/datafixer/fix/ThrownPotionSplitFix$class_10681;method_67102(Lcom/mojang/datafixers/Typed;)Ljava/lang/String;intermediary method_67102Lnet/minecraft/class_10680$class_10681;method_67102(Lcom/mojang/datafixers/Typed;)Ljava/lang/String;official aLbkl$a;a(Lcom/mojang/datafixers/Typed;)Ljava/lang/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. -
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). -
itemFinder
public com.mojang.datafixers.OpticFinder<?> itemFinder()Returns the value of theitemFinderrecord component.- Returns:
- the value of the
itemFinderrecord component
-
itemIdFinder
public com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> itemIdFinder()Returns the value of theitemIdFinderrecord component.- Returns:
- the value of the
itemIdFinderrecord component
-