Class HTSimpleRecipeViewerType
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.viewer.HTRecipeViewerType,hiiragi283.core.api.resource.HTIdLike,hiiragi283.core.api.text.HTHasText
public final class HTSimpleRecipeViewerType<RECIPE extends Object> implements HTRecipeViewerType<RECIPE>, HTIdLike, HTHasText
単純なHTRecipeViewerTypeの実装クラスです。
- Since:
0.15.1
Hiiragi Tsubasa
-
-
Method Summary
Modifier and Type Method Description Class<out RECIPE>getRecipeClass()Either<ResourceLocation, ItemStack>getIcon()HTBoundsgetBounds()List<ItemStack>getWorkStations()StringgetNamespace()StringgetPath()final static <RECIPE extends Any> HTSimpleRecipeViewerType<RECIPE>create(HTIdLike idLike, HTHasText hasText, ItemStack icon, HTBounds bounds, ItemStack workStations)final static <RECIPE extends Any> HTSimpleRecipeViewerType<RECIPE>create(HTIdLike idLike, HTHasText hasText, Either<ResourceLocation, ItemStack> icon, HTBounds bounds, ItemStack workStations)final static <RECIPE extends Any> HTSimpleRecipeViewerType<RECIPE>create(HTIdLike idLike, HTHasText hasText, Either<ResourceLocation, ItemStack> icon, HTBounds bounds, List<ItemStack> workStations)-
-
Method Detail
-
getRecipeClass
Class<out RECIPE> getRecipeClass()
-
getWorkStations
List<ItemStack> getWorkStations()
-
getNamespace
String getNamespace()
-
create
final static <RECIPE extends Any> HTSimpleRecipeViewerType<RECIPE> create(HTIdLike idLike, HTHasText hasText, ItemStack icon, HTBounds bounds, ItemStack workStations)
-
create
final static <RECIPE extends Any> HTSimpleRecipeViewerType<RECIPE> create(HTIdLike idLike, HTHasText hasText, Either<ResourceLocation, ItemStack> icon, HTBounds bounds, ItemStack workStations)
-
-
-
-