Expansion for KnownTag<Block>

Link to expansion-for-knowntagblock

This expansion specifically targets BlockTags.

结果类型是否隐藏
结果类型
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
描述
No Description Provided