Private
constructorReadonly
blockReadonly
typeStatic
Readonly
componentAdds a dye to the fluid. The dye color is combined with any existing custom color.
This function can't be called in read-only mode.
Gets the current fluid type in the container.
This function can't be called in read-only mode.
Whether the component is valid.
Sets the current fluid type in the container.
This function can't be called in read-only mode.
Sets a potion item in the container. Changes the container's fluid type to potion.
This function can't be called in read-only mode.
Represents the fluid container of a block in the world. Used with blocks like cauldrons.