Class HTRecipeDisplay.Simple
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.viewer.display.HTRecipeDisplay,hiiragi283.core.api.resource.HTIdLike
public class HTRecipeDisplay.Simple implements HTRecipeDisplay
-
-
Field Summary
Fields Modifier and Type Field Description public final static Codec<HTRecipeDisplay.Simple>CODECprivate final HTRecipeContentscontentsprivate final Stringnamespaceprivate final Stringpath
-
Constructor Summary
Constructors Constructor Description HTRecipeDisplay.Simple(ResourceLocation id, HTRecipeContents contents)
-
Method Summary
Modifier and Type Method Description final HTRecipeContentsgetContents()StringgetNamespace()StringgetPath()final ResourceLocationgetId()保持しているIDを返します。 final static <T extends HTRecipeDisplay.Simple> RecordCodecBuilder<T, HTRecipeContents>contentsCodec()-
-
Constructor Detail
-
HTRecipeDisplay.Simple
HTRecipeDisplay.Simple(ResourceLocation id, HTRecipeContents contents)
-
-
Method Detail
-
getContents
final HTRecipeContents getContents()
-
getNamespace
String getNamespace()
-
getId
final ResourceLocation getId()
保持しているIDを返します。
-
contentsCodec
final static <T extends HTRecipeDisplay.Simple> RecordCodecBuilder<T, HTRecipeContents> contentsCodec()
-
-
-
-