Merge pull request #600 from DoctorMacc/morenullableresult

Make all recipes nullable
This commit is contained in:
Steven Smith 2020-11-13 18:15:34 -08:00 committed by GitHub
commit 86e1901be5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -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;
}

View file

@ -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;
}

View file

@ -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;
}