Class CraftRecipeBuilder
java.lang.Object
generation.builders.AbstractPropertyBuilder
generation.builders.AbstractDynamicOrderPropertyBuilder
generation.builders.AbstractScriptTypeBuilder
generation.builders.CraftRecipeBuilder
-
Nested Class Summary
Nested classes/interfaces inherited from interface generation.builders.Writeable
Writeable.ListProperty<T>, Writeable.Property<T>, Writeable.WriteableProperty<T>
-
Method Summary
Modifier and TypeMethodDescriptionallowBatchCraft
(boolean boolean0) autoLearnAll
(PerkNumber... perkNumbers) autoLearnAny
(PerkNumber... perkNumbers) category
(CraftRecipeCategory... craftRecipeCategorys) inputs
(RecipeElement... recipeElements) itemMappers
(String string, RecipeMapperBuilder... recipeMapperBuilders) metaRecipe
(MetaRecipe metaRecipex) needTobeLearn
(boolean boolean0) needToBeLearn
(boolean boolean0) onTest
(SerializableMethod.Function<InventoryItem, Boolean> function) outputs
(RecipeElement... recipeElements) overlayMapper
(RecipeOverlayMapperBuilder... recipeOverlayMapperBuilders) overlayStyle
(String string) researchAny
(PerkFactory.Perk... perks) researchSkillLevel
(int int0) skillRequired
(PerkNumber... perkNumbers) tags
(CraftRecipeTag... craftRecipeTags) time
(int int0) timedAction
(TimedActionKey timedActionKey) static void
validateItemMappers
(String string, Writeable.ListProperty<ItemMapper> listProperty0, Writeable.ListProperty<RecipeElement> listProperty1, Writeable.ListProperty<RecipeElement> listProperty2) static CraftRecipeBuilder
withId
(CraftRecipeKey craftRecipeKey) void
xpAward
(PerkNumber... perkNumbers) Methods inherited from class generation.builders.AbstractPropertyBuilder
get, getName
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface generation.builders.Writeable
formatFloat, fromArray, indent, stream, writeBlockEnd, writeBlockStart, writeKeyValue, writeProperties, writeValue
-
Method Details
-
withId
-
category
-
overlayStyle
-
overlayMapper
-
allowBatchCraft
-
autoLearnAll
-
autoLearnAny
-
icon
-
metaRecipe
-
needToBeLearn
-
onCreate
-
onCreate
public CraftRecipeBuilder onCreate(SerializableMethod.Consumer2<CraftRecipeData, IsoGameCharacter> consumer2) -
onTest
-
onTest
-
researchAny
-
researchSkillLevel
-
skillRequired
-
tags
-
tooltip
-
needTobeLearn
-
time
-
timedAction
-
xpAward
-
itemMappers
-
inputs
-
outputs
-
write
- Specified by:
write
in interfaceWriteable
- Overrides:
write
in classAbstractPropertyBuilder
- Throws:
IOException
-
validateItemMappers
public static void validateItemMappers(String string, Writeable.ListProperty<ItemMapper> listProperty0, Writeable.ListProperty<RecipeElement> listProperty1, Writeable.ListProperty<RecipeElement> listProperty2)
-