OneBar

OneBar

2.7k Downloads

Lapis counter

Madis0 opened this issue · 1 comments

commented

A counter number somewhere next to XP that displays how many lapis lazuli items or blocks you have in your inventory.
Blocks are counted as multiplies of 9, ores are not counted (because they need more action and sum may vary).

  • Should respect the adaptive experience indicator setting and hide itself when having none
    • Probably also hide itself when there is lapis but no XP
  • Should have an individual setting
  • May have a setting for dividing by 3 (round up, use case being always maxed out enchantments)
    • Or better yet, "Times enchantable maxed out" - how many times can the player enchant with 3 lapis and experience levels 30+
  • Note: the value becomes inaccurate once the lapis is placed in the enchanting table, as it is no longer in the inventory then

The main question is, how or where to display it? The maximum possible amount in a vanilla inventory is 21312 ( / 3 ≈ 7104).

image
image

Idea: separate text element that is positioned exactly at the end of the XP one, RGB colors, smaller font or subscript (top)

Updated preview on fabricord: https://discord.com/channels/507304429255393322/523251999899385875/954803002970095676

commented

Added in 2.3.0.