-
Notifications
You must be signed in to change notification settings - Fork 430
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Convention Drink Tags #4384
Convention Drink Tags #4384
Conversation
There is discussion on the neo issue report about the drinks tag |
Looks generally great and it would be great to have standard IDs for these tags. For example, I've used similar names but under I think the major weird thing here is |
Yeah it is unfortunately a bit weird quirk of how potions work. However, all potions that are brewable are brewed from water. So I think it's fair to at least say that all potions are water based and can be included in the water tag. |
As a compromise on this potions weirdness, I have added a watery tag for items that are generally watery and reserved the water tag for drinks that contain only water. |
One last minute change I'd like to make here - I am removing the sub-sub tags because I feel like they may pigeon hole some drinks too much. For example |
* add drink tag keys * add tags to datagen * generate tags * add translations * drink container tags * update wording of javadoc * fix grammar in javadoc * fix more javadoc typos * add juice drink type tags * number the rules for a drink * watery tag; clarify rule 4 of drink definition * remove rule 4 of the drinks tag * fix java doc typo * generate watery tag * match juice tag names to vanilla ids * remove subsub juice tags * fix potential inconsistency in the drinks javadoc for alcoholic drinks * remove sub sub tags (cherry picked from commit c81f590)
Resolves #4378
NeoForge PR: neoforged/NeoForge#1862
Implements conventional drink tags and documents standards for mods to use when creating further tags, using the following definition of a 'drink' (which is included in the javadoc):
Edit: Drinks may provide nutrition and saturation, but are not required to do so.
More specific types of drinks, such as Water, Milk, or Juice should be placed in a sub-tag, such as
#c:drinks/milk
,#c:drinks/tea/milk
, and#c:drinks/juice
.Sizes of drinks, such as buckets and bottles, can be distinguished using the
#c:drink_containing/*
tags. For example, drinkable honey buckets would be all items that belong to#c:drinks/honey
AND#c:drink_containing/bucket
tags.Something that may be notable about this PR is that if merged, it would be the first use of sub-sub-tags in the convention tags API. Would this be wanted in the API, or would these tags be too granular?This pigeon-holes some drinks too much, and does not allow for flexibility if a drink has some overlap between categories like Milk and Coffee.Here is the full list of tags added:
#c:drinks
for all drinkable items (similar to#c:foods
)#c:drinks/water
for items that are only water (empty)#c:drinks/watery
for items that are generally water (potions, introduced as comprise for the weirdness with how the water bottle is a potion, but potions shouldn't really be "water")#c:drinks/milk
for drinkable milk items (milk bucket)#c:drinks/honey
for drinkable honey items (honey bottle) - a weird one since honey provides nutrition and saturation. However, it is included based on the fact that the Minecraft Wiki categorizes Honey Bottles as both food and a drink: https://minecraft.wiki/w/Drinks, and does meet the definition of a drink. Honey Bottles are also already included in the#c:foods
tag, but otherwise have no tag of their own.#c:drinks/magic
for drinks that are magical in nature and give status effects when consumed (potions and ominous bottles)#c:drinks/ominous
for magical drinks that grant Bad Omen (ominous bottle)#c:drinks/juice
for all plant-based juices (empty)#c:drink_containing/bucket
for all non-empty drinkable buckets (milk bucket)#c:drink_containing/bottle
for all non-empty drinkable bottles (potions, honey bottles, ominous bottles)