public class DefaultCampfireDisplay extends java.lang.Object implements RecipeDisplay
| Constructor and Description |
|---|
DefaultCampfireDisplay(net.minecraft.item.crafting.CampfireCookingRecipe recipe) |
DefaultCampfireDisplay(net.minecraft.util.NonNullList<net.minecraft.item.crafting.Ingredient> ingredients,
net.minecraft.item.ItemStack output,
int cookTime) |
| Modifier and Type | Method and Description |
|---|---|
double |
getCookTime() |
@NotNull java.util.List<java.util.List<EntryStack>> |
getInputEntries() |
@NotNull net.minecraft.util.ResourceLocation |
getRecipeCategory()
Gets the recipe display category identifier
|
@NotNull java.util.Optional<net.minecraft.util.ResourceLocation> |
getRecipeLocation()
Gets the recipe location from datapack.
|
@NotNull java.util.List<java.util.List<EntryStack>> |
getRequiredEntries()
Gets the required items used in craftable filters
|
@NotNull java.util.List<java.util.List<EntryStack>> |
getResultingEntries() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetOutputEntriespublic DefaultCampfireDisplay(net.minecraft.item.crafting.CampfireCookingRecipe recipe)
public DefaultCampfireDisplay(net.minecraft.util.NonNullList<net.minecraft.item.crafting.Ingredient> ingredients,
net.minecraft.item.ItemStack output,
int cookTime)
public double getCookTime()
@NotNull public @NotNull java.util.Optional<net.minecraft.util.ResourceLocation> getRecipeLocation()
RecipeDisplaygetRecipeLocation in interface RecipeDisplay@NotNull public @NotNull java.util.List<java.util.List<EntryStack>> getInputEntries()
getInputEntries in interface RecipeDisplay@NotNull public @NotNull java.util.List<java.util.List<EntryStack>> getResultingEntries()
getResultingEntries in interface RecipeDisplay@NotNull public @NotNull java.util.List<java.util.List<EntryStack>> getRequiredEntries()
RecipeDisplaygetRequiredEntries in interface RecipeDisplay@NotNull public @NotNull net.minecraft.util.ResourceLocation getRecipeCategory()
RecipeDisplaygetRecipeCategory in interface RecipeDisplay