Skip to content

Commit

Permalink
update coffee ingredient recipe keys
Browse files Browse the repository at this point in the history
  • Loading branch information
rlnt committed Oct 30, 2024
1 parent 52578b8 commit e6cb230
Showing 1 changed file with 4 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,13 @@ public interface CoffeeIngredientRecipeSchema {
.key("ingredient", ComponentRole.INPUT)
.noFunctions();
RecipeKey<Integer> MAX_AMPLIFIER = NumberComponent.INT
.key("maxAmplifier", ComponentRole.OTHER)
.key("max_amplifier", ComponentRole.OTHER)
.functionNames(List.of("maxAmplifier"))
.optional(1)
.alwaysWrite();
RecipeKey<String> EXTRA_TEXT = StringComponent.ANY
.key("extraText", ComponentRole.OTHER)
.key("extra_text", ComponentRole.OTHER)
.functionNames(List.of("extraText"))
.optional("")
.allowEmpty();

Expand Down

0 comments on commit e6cb230

Please sign in to comment.