| Modifier and Type | Class and Description |
|---|---|
static class |
SmithingRecipe.Serializer |
| Modifier and Type | Field and Description |
|---|---|
private Ingredient |
addition |
private Ingredient |
base |
private Identifier |
id |
private ItemStack |
result |
| Constructor and Description |
|---|
SmithingRecipe(Identifier id,
Ingredient base,
Ingredient addition,
ItemStack result) |
| Modifier and Type | Method and Description |
|---|---|
ItemStack |
craft(Inventory inv) |
boolean |
fits(int width,
int height) |
Identifier |
getId() |
ItemStack |
getOutput() |
ItemStack |
getRecipeKindIcon() |
RecipeSerializer<?> |
getSerializer() |
RecipeType<?> |
getType() |
boolean |
matches(Inventory inv,
World world) |
boolean |
method_30029(ItemStack itemStack) |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetGroup, getPreviewInputs, getRemainingStacks, isIgnoredInRecipeBookprivate final Ingredient base
private final Ingredient addition
private final ItemStack result
private final Identifier id
public SmithingRecipe(Identifier id, Ingredient base, Ingredient addition, ItemStack result)
@Environment(value=CLIENT)
public boolean fits(int width,
int height)
public boolean method_30029(ItemStack itemStack)
@Environment(value=CLIENT) public ItemStack getRecipeKindIcon()
getRecipeKindIcon in interface Recipe<Inventory>public Identifier getId()
public RecipeSerializer<?> getSerializer()
getSerializer in interface Recipe<Inventory>public RecipeType<?> getType()