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