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 voidvalidateItemMappers(String string, Writeable.ListProperty<ItemMapper> listProperty0, Writeable.ListProperty<RecipeElement> listProperty1, Writeable.ListProperty<RecipeElement> listProperty2) static CraftRecipeBuilderwithId(CraftRecipeKey craftRecipeKey) voidxpAward(PerkNumber... perkNumbers) Methods inherited from class generation.builders.AbstractPropertyBuilder
get, getNameMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods 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:
writein interfaceWriteable- Overrides:
writein classAbstractPropertyBuilder- Throws:
IOException
-
validateItemMappers
public static void validateItemMappers(String string, Writeable.ListProperty<ItemMapper> listProperty0, Writeable.ListProperty<RecipeElement> listProperty1, Writeable.ListProperty<RecipeElement> listProperty2)
-