← Назад к ресурсам

Drinking Flask

Potions & stews don't stack? Put them all in a flask!

Modrinth equipment food storage

Описание

The **Drinking Flask** is an item that can store up to 16 drinks. When you drink from the flask, the effects of a random drink from inside will be applied. ![Drinking flask in inventory with tooltip "16/16"](https://cdn.modrinth.com/data/THjyyHSr/images/e996ace77b5a9241048e59188bc9548a84485c6c.png) Useful for carrying many potions or stews, or playing Russian roulette! The **Phantom Drinking Flask** is more expensive, but you can view its contents. Drinking from it still applies a random drink though. ![Phantom drinking flask in inventory displaying various drink items in tooltip](https://cdn.modrinth.com/data/THjyyHSr/images/9167d01a48626802086d8e3a05fc8a914e5050bd.png) ## Usage To add a drink to the flask, you can either: - Hold the flask in your main hand and a drink in your offhand, then use (default: right click) - Left click a drink on the flask in the inventory - Left click the flask on a drink in the inventory The behavior is similar to a bundle. For balancing, potions take up 2 of the 16 slots each (configurable through datapack). More information Drinks include: - Potions - Water Bottle - Milk - Honey Bottle - Soups & Stews When you pour the drink into a bundle, you get the container back immediately even though it displays in the phantom tooltip. ## Recipes ### Drinking Flask ![Three leather, one honeycomb, one iron ingot](https://cdn.modrinth.com/data/cached_images/98dbc619bade42e74ed45857e24a68e1c2c70de6.png) You can use leather or rabbit hide interchangeably. ### Phantom Drinking Flask ![Three phantom membrane, one honeycomb, one iron ingot](https://cdn.modrinth.com/data/cached_images/86605a47ebaf41fefc2769f279409ecb9800fa80.png) ## Compatability 1.20.1 (outdated) Compatability has been reworked in 2.0.0. Support for other mods must be done explicitly in either this mod or the other mod, through tags and optionally an API. If you're a developer or datapacker, see [the wiki page](https://github.com/ThePotatoArchivist/DrinkingFlask/wiki/Adding-Compatabilty) for more information. ### 1.21.1 Compatability needs to be added manually by adding the mod item to one of the following tags, or defining a new remainder tag and recipe. See the [mod data](https://github.com/ThePotatoArchivist/DrinkingFlask/tree/main/src/main/generated/data/drinkingflask) for examples. - `#drinkingflask:can_pour_into_flask` (no remainder set) - `#drinkingflask:remainder/bottle` (glass bottle) - `#drinkingflask:remainder/bowl` (bowl) - `#drinkingflask:remainder/bucket` (bucket) #### Current supported mods - Create - Farmer's Delight - My Nether's Delight - Brewin' and Chewin' - Enderscape If there's a mod you'd like support for, feel free to [open a github isue](https://github.com/ThePotatoArchivist/DrinkingFlask/issues) or PR ### 1.21.6+ Most mods should work out-of-the-box, as long as the drink has a `minecraft:consumable` component with the `drink` animation. Items can also be flask-enabled by adding them to the `#drinkingflask:can_pour_into_flask` tag. Remainders are determined by looking at the `minecraft:use_remainder` component or the recipe remainder if absent.