Expansion for KnownTag<Block>

Link to expansion-for-knowntagblock

This expansion specifically targets BlockTags.

Result typeIs Implicit
Result type
BlockIngredient
Is Implicit
true

Link to asBlockIngredient

Name: asBlockIngredient

Return Type: BlockIngredient

ZenScript
Copy
// KnownTag.asBlockIngredient() as BlockIngredient

myKnownTag.asBlockIngredient();

Name: asList

Return Type: BlockIngredient

ZenScript
Copy
KnownTag.asList(other as BlockIngredient) as BlockIngredient
ParameterTypeDescription
Parameter
other
Type
BlockIngredient
Description
No Description Provided