Class HTRecipeViewerTypeImpl
-
- All Implemented Interfaces:
-
hiiragi283.core.api.recipe.viewer.HTRecipeViewerType,hiiragi283.core.api.resource.HTIdLike,hiiragi283.core.api.text.HTHasText
public final class HTRecipeViewerTypeImpl<T extends Object> implements HTRecipeViewerType<T>, HTIdLike, HTHasText
HTRecipeViewerTypeの実装クラスです。
- Since:
0.16.0
Hiiragi Tsubasa
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classHTRecipeViewerTypeImpl.Builder
-
Method Summary
Modifier and Type Method Description Class<out T>getRecipeClass()Either<ResourceLocation, ItemStack>getIcon()HTBoundsgetBounds()List<ItemStack>getWorkStations()StringgetNamespace()StringgetPath()StringtoString()final static <T extends Any> HTRecipeViewerTypeImpl<T>create(Function1<HTRecipeViewerTypeImpl.Builder, Unit> builderAction)-
-
Method Detail
-
getRecipeClass
Class<out T> getRecipeClass()
-
getIcon
Either<ResourceLocation, ItemStack> getIcon()
-
getWorkStations
List<ItemStack> getWorkStations()
-
getNamespace
String getNamespace()
-
create
final static <T extends Any> HTRecipeViewerTypeImpl<T> create(Function1<HTRecipeViewerTypeImpl.Builder, Unit> builderAction)
-
-
-
-