diff --git a/src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java b/src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java index 6400d8b925..ea3775037c 100644 --- a/src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java +++ b/src/main/java/io/github/thebusybiscuit/slimefun4/api/items/SlimefunItem.java @@ -160,6 +160,21 @@ public SlimefunItem(ItemGroup itemGroup, SlimefunItemStack item, RecipeType reci this.recipeOutput = recipeOutput; } + /** + * This creates a new {@link SlimefunItem} from the given arguments. + * + * @param itemGroup + * The {@link ItemGroup} this {@link SlimefunItem} belongs + * to + * @param item + * The {@link SlimefunItemStack} that describes the visual + * features of our {@link SlimefunItem} + */ + @ParametersAreNonnullByDefault + public SlimefunItem(ItemGroup itemGroup, SlimefunItemStack item) { + this(itemGroup, item, RecipeType.NULL, new ItemStack[] {}); + } + // Previously deprecated constructor, now only for internal purposes @ParametersAreNonnullByDefault protected SlimefunItem(ItemGroup itemGroup, ItemStack item, String id, RecipeType recipeType, ItemStack[] recipe) {