mirror of
https://github.com/PaperMC/Paper.git
synced 2024-12-28 07:20:24 +01:00
Replace ItemFlag.HIDE_POTION_EFFECTS
This commit is contained in:
parent
2d4a6d3f7d
commit
e03e924177
1 changed files with 23 additions and 0 deletions
|
@ -38,4 +38,27 @@ public enum ItemFlag {
|
|||
* Setting to show/hide armor trim from armor.
|
||||
*/
|
||||
HIDE_ARMOR_TRIM;
|
||||
// Paper start
|
||||
/**
|
||||
* Setting to show/hide item-specific information, including, but not limited to:
|
||||
* <ul>
|
||||
* <li>Potion effects on potions, tipped arrows, and suspicious stew</li>
|
||||
* <li>Enchanted book enchantments</li>
|
||||
* <li>Book author and generation</li>
|
||||
* <li>Record names</li>
|
||||
* <li>Patterns of banners and shields</li>
|
||||
* <li>Fish bucket variants</li>
|
||||
* <li>Instrument item descriptions (i.e. goat horn sounds)</li>
|
||||
* <li>Map data</li>
|
||||
* <li>Firework data</li>
|
||||
* <li>Crossbow projectile info</li>
|
||||
* <li>Bundle fullness</li>
|
||||
* <li>Shulker box contents</li>
|
||||
* <li>Spawner descriptions</li>
|
||||
* </ul>
|
||||
* @deprecated use {@link #HIDE_ADDITIONAL_TOOLTIP}
|
||||
*/
|
||||
@Deprecated(since = "1.20.5")
|
||||
public static final ItemFlag HIDE_ITEM_SPECIFICS = HIDE_ADDITIONAL_TOOLTIP;
|
||||
// Paper end
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue