Record Class PatternResolver.ResolvedStonecutterPattern
java.lang.Object
java.lang.Record
com.refinedmods.refinedstorage.common.autocrafting.PatternResolver.ResolvedStonecutterPattern
- Enclosing class:
PatternResolver
public static record PatternResolver.ResolvedStonecutterPattern(ItemResource input, ResourceAmount output, Pattern pattern)
extends Record
-
Constructor Summary
ConstructorsConstructorDescriptionResolvedStonecutterPattern(ItemResource input, ResourceAmount output, Pattern pattern) Creates an instance of aResolvedStonecutterPatternrecord class. -
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.input()Returns the value of theinputrecord component.output()Returns the value of theoutputrecord component.pattern()Returns the value of thepatternrecord component.final StringtoString()Returns a string representation of this record class.
-
Constructor Details
-
ResolvedStonecutterPattern
Creates an instance of aResolvedStonecutterPatternrecord class.- Parameters:
input- the value for theinputrecord componentoutput- the value for theoutputrecord componentpattern- the value for thepatternrecord component
-
-
Method Details
-
toString
-
hashCode
-
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). -
input
Returns the value of theinputrecord component.- Returns:
- the value of the
inputrecord component
-
output
Returns the value of theoutputrecord component.- Returns:
- the value of the
outputrecord component
-
pattern
Returns the value of thepatternrecord component.- Returns:
- the value of the
patternrecord component
-