Expansion for KnownTag<Fluid>

Link to expansion-for-knowntagfluid

This expansion specifically targets FluidTags on Forge.

Result Type是否隐藏
Result Type
FluidIngredient
是否隐藏
true

Link to asFluidIngredient

Name: asFluidIngredient

Return Type: FluidIngredient

ZenScript
Copy
// KnownTag.asFluidIngredient() as FluidIngredient

myKnownTag.asFluidIngredient();

Name: asList

Return Type: FluidIngredient

ZenScript
Copy
KnownTag.asList(other as FluidIngredient) as FluidIngredient
参数类型
参数
other
类型
FluidIngredient