Beta Protected constructorRelative level of potion liquid within this block. Valid values are between FluidContainer.minFillLevel (0) and FluidContainer.maxFillLevel (6).
Readonly typeIdentifier of this component. Should always be minecraft:potionContainer.
Static Readonly componentIdentifier of this component. Should always be minecraft:potionContainer.
Potion to use as the type of potion for this potion container.
Sets the potion type based on an item stack.
This function can throw errors.
Represents a fluid container block that currently contains a potion.