Skip to content

Commit 5494aff

Browse files
feat: all farmer recipes that use plant fiber added
1 parent 07a58ad commit 5494aff

5 files changed

Lines changed: 687 additions & 4 deletions

File tree

src/client/java/com/tcm/MineTale/datagen/builders/WorkbenchRecipeBuilder.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ public class WorkbenchRecipeBuilder implements RecipeBuilder {
4444
private CraftingBookCategory category = CraftingBookCategory.MISC;
4545
private Identifier bookCategory = BuiltInRegistries.RECIPE_BOOK_CATEGORY
4646
.getKey(ModRecipeDisplay.CAMPFIRE_SEARCH);
47-
private int cookTime = 200;
47+
private float cookTime = 200;
4848
@Nullable private String group;
4949

5050
/**
@@ -185,7 +185,7 @@ public WorkbenchRecipeBuilder output(ItemLike stack) {
185185
* @param seconds the cook time in seconds
186186
* @return the builder instance
187187
*/
188-
public WorkbenchRecipeBuilder time(int seconds) {
188+
public WorkbenchRecipeBuilder time(float seconds) {
189189
this.cookTime = seconds * 20;
190190
return this;
191191
}

0 commit comments

Comments
 (0)