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_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
FieldsModifier and TypeFieldDescriptionprivate final com.mojang.datafixers.OpticFinder
<?> The field for theitemFinder
record component.The field for theitemIdFinder
record 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 boolean
Indicates whether some other object is "equal to" this one.final int
hashCode()
Returns a hash code value for this object.com.mojang.datafixers.OpticFinder
<?> Returns the value of theitemFinder
record component.Returns the value of theitemIdFinder
record component.method_67102
(com.mojang.datafixers.Typed<?> typed) final String
toString()
Returns a string representation of this record class.
-
Field Details
-
itemFinder
private final com.mojang.datafixers.OpticFinder<?> itemFinderThe field for theitemFinder
record component. -
itemIdFinder
private final com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> itemIdFinderThe field for theitemIdFinder
record component.
-
-
Constructor Details
-
Method Details
-
method_67102
- 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
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 theitemFinder
record component.- Returns:
- the value of the
itemFinder
record component
-
itemIdFinder
public com.mojang.datafixers.OpticFinder<com.mojang.datafixers.util.Pair<String,String>> itemIdFinder()Returns the value of theitemIdFinder
record component.- Returns:
- the value of the
itemIdFinder
record component
-