Expansion for KnownTag<Block>

Link to expansion-for-knowntagblock

This expansion specifically targets BlockTags.

Result Type是否隐藏
Result Type
BlockIngredient
是否隐藏
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
参数类型
参数
other
类型
BlockIngredient