FabricCustomIngredient¶
class FabricCustomIngredient<T : IACustomIngredient>(val custom: T) : CustomIngredient, IACustomIngredientHolder<T>
Constructors¶
FabricCustomIngredient¶
constructor(custom: T)
Properties¶
custom¶
matchingStacks¶
open override val matchingStacks: MutableList<ItemStack>
serializer¶
open override val serializer: CustomIngredientSerializer<*>
Functions¶
getMatchingStacks¶
open override fun getMatchingStacks(): MutableList<ItemStack>
getSerializer¶
open override fun getSerializer(): CustomIngredientSerializer<*>
requiresTesting¶
open override fun requiresTesting(): Boolean
test¶
toVanilla¶
@ApiStatus.NonExtendable
open fun toVanilla(): Ingredient?