Package hiiragi283.lib.recipe.result
Interface HTItemResult
-
- All Implemented Interfaces:
-
hiiragi283.lib.resource.HTIdLike
public interface HTItemResult implements HTIdLike
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classHTItemResult.Serializerpublic final classHTItemResult.Simplepublic final classHTItemResult.Taggedpublic final classHTItemResult.MaterialPartpublic classHTItemResult.Companion
-
Method Summary
Modifier and Type Method Description abstract HTItemResult.Serializer<?>getSerializer()abstract Either<ErrorText, ItemStack>create()ItemStackcreateOrEmpty()HTChancedItemResultwithChance(Float chance)HTChancedItemResultwithChance(Fraction chance)StringgetNamespace()StringgetPath()-
-
Method Detail
-
getSerializer
abstract HTItemResult.Serializer<?> getSerializer()
-
createOrEmpty
ItemStack createOrEmpty()
-
withChance
HTChancedItemResult withChance(Float chance)
-
withChance
HTChancedItemResult withChance(Fraction chance)
-
getNamespace
String getNamespace()
-
-
-
-