public class DefaultSmithingDisplay extends java.lang.Object implements RecipeDisplay
| Constructor and Description |
|---|
DefaultSmithingDisplay(@NotNull java.util.List<java.util.List<EntryStack>> input,
@NotNull java.util.List<EntryStack> output,
@Nullable net.minecraft.util.ResourceLocation location) |
DefaultSmithingDisplay(@NotNull net.minecraft.item.crafting.SmithingRecipe recipe) |
| Modifier and Type | Method and Description |
|---|---|
@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 DefaultSmithingDisplay(@NotNull
@NotNull net.minecraft.item.crafting.SmithingRecipe recipe)
public DefaultSmithingDisplay(@NotNull
@NotNull java.util.List<java.util.List<EntryStack>> input,
@NotNull
@NotNull java.util.List<EntryStack> output,
@Nullable
@Nullable net.minecraft.util.ResourceLocation location)
@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@NotNull public @NotNull java.util.Optional<net.minecraft.util.ResourceLocation> getRecipeLocation()
RecipeDisplaygetRecipeLocation in interface RecipeDisplay