Home Commands Examples Getting Started With Scripts Global Keywords

Expansion for KnownTag<Fluid>

This expansion specifically targets FluidTags on Forge.

Casters

Result TypeIs Implicit
Result Type
FluidIngredient
Is Implicit
true

Methods

Return Type: FluidIngredient

script.zs
// KnownTag.asFluidIngredient() as FluidIngredient
myKnownTag.asFluidIngredient();

Return Type: FluidIngredient

script.zs
KnownTag.asList(other as FluidIngredient) as FluidIngredient
ParameterType
Parameter
other
Type
FluidIngredient