Expansion for KnownTag<Block>
Link to expansion-for-knowntagblock
This expansion specifically targets BlockTags.
Casters
Link to casters
Result Type | 是否隐藏 |
---|---|
Result Type BlockIngredient | 是否隐藏 true |
使用方式
Link to 使用方式
Name: asBlockIngredient
Return Type: BlockIngredient
ZenScript Copy// KnownTag.asBlockIngredient() as BlockIngredient
myKnownTag.asBlockIngredient();
Name: asList
Return Type: BlockIngredient
ZenScript CopyKnownTag.asList(other as BlockIngredient) as BlockIngredient
参数 | 类型 |
---|---|
参数 other | 类型 BlockIngredient |