Record Class RecipeOverlayMapperBuilder
java.lang.Object
java.lang.Record
generation.builders.RecipeOverlayMapperBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface generation.builders.Writeable
Writeable.ListProperty<T>, Writeable.Property<T>, Writeable.WriteableProperty<T>
-
Constructor Summary
ConstructorsConstructorDescriptionRecipeOverlayMapperBuilder
(String inputItem, String outputItem) Creates an instance of aRecipeOverlayMapperBuilder
record class. -
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.Returns the value of theinputItem
record component.Returns the value of theoutputItem
record component.static RecipeOverlayMapperBuilder
overlayMapper
(ItemKey itemKey, String string) static RecipeOverlayMapperBuilder
overlayMapperDefault
(String string) final String
toString()
Returns a string representation of this record class.void
Methods inherited from interface generation.builders.Writeable
formatFloat, fromArray, indent, stream, writeBlockEnd, writeBlockStart, writeKeyValue, writeProperties, writeValue
-
Constructor Details
-
RecipeOverlayMapperBuilder
-
-
Method Details
-
overlayMapper
-
overlayMapperDefault
-
write
- Specified by:
write
in interfaceWriteable
- Throws:
IOException
-
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)
. -
inputItem
Returns the value of theinputItem
record component.- Returns:
- the value of the
inputItem
record component
-
outputItem
Returns the value of theoutputItem
record component.- Returns:
- the value of the
outputItem
record component
-