mirror of
https://github.com/GeyserMC/MCProtocolLib.git
synced 2024-12-04 21:01:02 -05:00
Merge pull request #600 from DoctorMacc/morenullableresult
Make all recipes nullable
This commit is contained in:
commit
86e1901be5
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