mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 12:51:09 -05:00
Make all recipes nullable
Cookable recipes can have a nullable result too - I'm going to assume that all recipe types can too.
This commit is contained in:
parent
6ac79c14d6
commit
1b167e197a
3 changed files with 3 additions and 3 deletions
|
@ -11,7 +11,7 @@ import lombok.NonNull;
|
|||
public class CookedRecipeData implements RecipeData {
|
||||
private final @NonNull String group;
|
||||
private final @NonNull Ingredient ingredient;
|
||||
private final @NonNull ItemStack result;
|
||||
private final ItemStack result;
|
||||
private final float experience;
|
||||
private final int cookingTime;
|
||||
}
|
||||
|
|
|
@ -11,5 +11,5 @@ import lombok.NonNull;
|
|||
public class SmithingRecipeData implements RecipeData {
|
||||
private final @NonNull Ingredient base;
|
||||
private final @NonNull Ingredient addition;
|
||||
private final @NonNull ItemStack result;
|
||||
private final ItemStack result;
|
||||
}
|
||||
|
|
|
@ -11,5 +11,5 @@ import lombok.NonNull;
|
|||
public class StoneCuttingRecipeData implements RecipeData {
|
||||
private final @NonNull String group;
|
||||
private final @NonNull Ingredient ingredient;
|
||||
private final @NonNull ItemStack result;
|
||||
private final ItemStack result;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue