public class FurnaceRecipe extends CookingRecipe<FurnaceRecipe>
Constructor | Description |
---|---|
FurnaceRecipe(@NotNull ItemStack result,
@NotNull Material source) |
Deprecated.
|
FurnaceRecipe(@NotNull ItemStack result,
@NotNull MaterialData source) |
Deprecated.
|
FurnaceRecipe(@NotNull ItemStack result,
@NotNull MaterialData source,
float experience) |
Deprecated.
|
FurnaceRecipe(@NotNull ItemStack result,
@NotNull Material source,
int data) |
Deprecated.
|
FurnaceRecipe(@NotNull NamespacedKey key,
@NotNull ItemStack result,
@NotNull RecipeChoice input,
float experience,
int cookingTime) |
Create a furnace recipe to craft the specified ItemStack.
|
FurnaceRecipe(@NotNull NamespacedKey key,
@NotNull ItemStack result,
@NotNull Material source,
float experience,
int cookingTime) |
Create a furnace recipe to craft the specified ItemStack.
|
FurnaceRecipe(@NotNull NamespacedKey key,
@NotNull ItemStack result,
@NotNull Material source,
int data,
float experience,
int cookingTime) |
Deprecated.
|
Modifier and Type | Method | Description |
---|---|---|
@NotNull FurnaceRecipe |
setInput(@NotNull Material input) |
Sets the input of this cooking recipe.
|
@NotNull FurnaceRecipe |
setInput(@NotNull MaterialData input) |
Sets the input of this furnace recipe.
|
FurnaceRecipe |
setInput(@NotNull Material input,
int data) |
Deprecated.
Magic value
|
@NotNull FurnaceRecipe |
setInputChoice(@NotNull RecipeChoice input) |
Sets the input of this cooking recipe.
|
getCookingTime, getExperience, getGroup, getInput, getInputChoice, getKey, getResult, setCookingTime, setExperience, setGroup
@Deprecated public FurnaceRecipe(@NotNull @NotNull ItemStack result, @NotNull @NotNull Material source)
@Deprecated public FurnaceRecipe(@NotNull @NotNull ItemStack result, @NotNull @NotNull MaterialData source)
@Deprecated public FurnaceRecipe(@NotNull @NotNull ItemStack result, @NotNull @NotNull MaterialData source, float experience)
@Deprecated public FurnaceRecipe(@NotNull @NotNull ItemStack result, @NotNull @NotNull Material source, int data)
public FurnaceRecipe(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull ItemStack result, @NotNull @NotNull Material source, float experience, int cookingTime)
key
- The unique recipe keyresult
- The item you want the recipe to create.source
- The input material.experience
- The experience given by this recipecookingTime
- The cooking time (in ticks)@Deprecated public FurnaceRecipe(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull ItemStack result, @NotNull @NotNull Material source, int data, float experience, int cookingTime)
public FurnaceRecipe(@NotNull @NotNull NamespacedKey key, @NotNull @NotNull ItemStack result, @NotNull @NotNull RecipeChoice input, float experience, int cookingTime)
key
- The unique recipe keyresult
- The item you want the recipe to create.input
- The input choices.experience
- The experience given by this recipecookingTime
- The cooking time (in ticks)@NotNull public @NotNull FurnaceRecipe setInput(@NotNull @NotNull MaterialData input)
input
- The input material.@NotNull public @NotNull FurnaceRecipe setInput(@NotNull @NotNull Material input)
CookingRecipe
setInput
in class CookingRecipe<FurnaceRecipe>
input
- The input material.@Deprecated public FurnaceRecipe setInput(@NotNull @NotNull Material input, int data)
input
- The input material.data
- The data value. (Note: This is currently ignored by the
CraftBukkit server.)@NotNull public @NotNull FurnaceRecipe setInputChoice(@NotNull @NotNull RecipeChoice input)
CookingRecipe
setInputChoice
in class CookingRecipe<FurnaceRecipe>
input
- The input choice.Copyright © 2020. All rights reserved.