Skip to content

Releases: toxicity188/BetterHud

1.11.4

13 Jan 09:11
8e3a46d
Compare
Choose a tag to compare

BetterHud 1.11.4

Notice

  • This is a hotfix of 1.11.3
  • I'm currently trying to make a stable version of BetterHud.

Warning

  • 'disable-legacy-offset' is now true by default.
  • This patch can influence y-axis of ttf or otf text.

Fix

  • Remove old code of text
  • Fix shader tag not work
  • Fix line-align with background
  • Clean some unused code
  • Fix command not work with some kind of plugins.
  • Fix placeholder equation
  • Fix 'accented.png' font

Add

  • Add 'clamp(value, min, max)' function in equation.
  • Add 'ascent' config in bitmap text.

Contribute

  • Add de_DE.json - Ubivis

1.11.3

07 Jan 12:26
9b42c73
Compare
Choose a tag to compare

BetterHud 1.11.3

Fix

  • Fix mmocore skill reference
  • Add z-axis for NeoForge
  • Clean build jar
  • Fix image identifier

Add

  • Add 'turkish' language
  • Support combining Unicode

1.11.2

02 Jan 16:12
c144a62
Compare
Choose a tag to compare

BetterHud 1.11.2

Notice

  • This is a hotfix version of 1.11.1.
  • Support about 1.18 is completely dropped because of optimization.

Add

  • These placeholders added
world (bukkit)
  • These configuration added
force-split: false (Text layout)
frame-type: local #global, local (Popup)

Fix

  • Fix shaders bug
  • Fix invalid boss bar position when reloading.
  • Placeholder api fix (Fabric)

Change

  • BetterCommand 1.4.2

1.11.1

23 Dec 18:02
ccb1e89
Compare
Choose a tag to compare

BetterHud 1.11.1

Notice

  • This is a not 1.11 but 1.11.1 because I have a mistake in api version.
  • Be sure to replace your shader folder.

Add

  • Tested in Paper hard-fork.
  • 'min' and 'max' function.
    animations:
        duration: 100
        x-equation: 0
        y-equation: 12 + 1.25 * (min(64 * sin(t / 100 * pi), 20))
        opacity-equation: 7 * sin(t / 100 * pi)
        type: play_once
  • Lazy listener
entity_health_white:
  type: listener
  split-type: left
  split: 25
  file: "entity/white.png"
  setting:
    listener:
      class: entity_health
      lazy: true #Sets lazy to true
      delay: 10 #Value can be applied when delay is over.
      initial-value: 1 #initial value.
      expiring-second: 10 #Clean player map time.
  • Provide more detailed example HUD.
  • Constraint 'pack-type: none' in auto merge.
  • 'tick' configuration in layout, HUD, popup, compass (for supporting user-optimization)
  • Add these placeholders
### Stanard ###
last_health
entity_last_health
last_health_percentage
entity_last_health_percentage

### MMOItems ###
mmoitems_total_amount[type,name]

Fix

  • Text identifier fix.
  • Pack bug fix.
  • Self-host fix.
  • Shaders bug fix.
  • Invalid exp progress fix. (Fabric)

Change

  • Adventure 4.18.0
  • BetterCommand 1.4.1
  • Repack Fabric API

1.10.3

15 Dec 10:23
70eef29
Compare
Choose a tag to compare

BetterHud 1.10.3

Notice

  • This is a bug fix version of 1.10.2

Fix

  • Fix popup text
  • Add missing adventure legacy serializer in Fabric

Add

  • Config 'debug-type' to provide more detailed debug info
  • Approximately 3x faster multiple font generate
  • 'popup-index' placeholder in popup layout
  • Legacy hex supports. (Please, do not use legacy one unless it is absolutely necessary.)
  • Entity module for Fabric

1.10.2

13 Dec 13:18
7e1b3c9
Compare
Choose a tag to compare

BetterHud 1.10.2

Notice

  • This is a bug fix version of 1.10.1

Fix

  • Fix concurrent issue in update.
  • Change resource pack obfuscation.
  • Fix big mistake in text manager :(

1.10.1

11 Dec 08:02
bc47830
Compare
Choose a tag to compare

BetterHud 1.10.1

Notice

  • This is a simple update for BetterHealthBar.

Change

  • Update resources.
  • Support modern BetterHealthBar shaders.
  • Miner bug fix.
  • Bump version.
  • Relocate config folder: mods/BetterHud -> config/betterhud (Fabric)

Fix

  • Fix Polymer autohost (Fabric)

1.10

06 Dec 10:02
ddceb83
Compare
Choose a tag to compare

BetterHud 1.10

Notice

  • Now support about Oraxen 2.0 is dropped.
  • Now support about Nexo is available.

Add

  • 1.21.4 support
  • Add 'children' in image.
children_full:
  type: single
  file: "children/full.png" #parent image
  setting:
    children: #define the children you want use.
      - children_half
      - children_container
    children-mapper: #replace the image to child if this condition is matched.
      children_container:
        1:
          first: health_percentage
          second: 0.33
          operation: "<"
      children_half:
        1:
          first: health_percentage
          second: 0.66
          operation: "<"
children_half:
  type: single
  file: "children/half.png"
children_container:
  type: single
  file: "children/container.png"
children_full:
  type: single
  file: "children/full.png"
  setting:
    children: * #wild card(*) defines all available image.
    follow: "skript_variable:your_value" #If you want to show image depend on some placeholder, set 'follow' section.
  • Now we're using maven central to publish API
dependencies {
    compileOnly("io.github.toxicity188:BetterHud-standard-api:VERSION") //Standard API
    compileOnly("io.github.toxicity188:BetterHud-bukkit-api:VERSION") //Platform API
}
  • Add 'color-overrides' in image, text, head, layout
test_layout:
  heads:
    1:
      name: test_head
      align: center
  texts:
    1:
      name: test_text
      pattern: |
        Text1
        Text2
      line: 3
      align: center
      line-align: center
      scale: 0.5
      y: 48
      properties:
        - wave
  color-overrides:
    1:
      color: "#FF8080"
      conditions:
        1:
          first: health_percentage
          second: 0.33
          operation: "<"
  • Add 'static-scale' in render scale
test_head:
  heads:
    1:
      name: test_head
      align: center
      type: fancy
      y: 64
      x: 64
      render-scale:
        x: 3.0
        y: 3.0
        static-scale: true
  • Add 'placeholder-option' and 'placeholder-string-format'
test_text:
  texts:
    1:
      name: unifont
      pattern: |
        [name]
        [health_percentage]%
      placeholder-option:
        evaluate: t * 100
        join: " "
      placeholder-string-format:
        number: "#,###"
      background: test
      align: center
      line-align: center
      scale: 0.5
      line: 5
      split-width: 300
      y: 32
  • Add these option in config.yml
disable-legacy-offset: false #If this is true, a correct pixel offset is provided.
  • Add 'hud turn on|off <player' command
  • Remove space constraint in text layout

Change

  • Now BetterHud uses BetterCommand 1.4
  • Now BetterHud uses Kotlin 2.1.0

Fix

  • Fix placeholder comma.
  • Fix Folia adaption
  • Fix layout identifier.
  • Fix render scale calculation.
  • Optimize text renderer.

1.9.2

20 Nov 06:24
Compare
Choose a tag to compare

BetterHud 1.9.2

Notice

  • This is a hotfix version of 1.9.1

Fix

  • Placeholder bug fix (Fabric)
  • Clean jar (Fabric)
  • Now legacy fabric mod is remained in another branch (fabric/version)

Add

  • Add a max thread limit message for Linux

1.9.1

18 Nov 12:08
Compare
Choose a tag to compare

BetterHud 1.9.1

Notice

  • Version support about 1.18 will be dropped soon.

Fix

  • More optimized compass and image (above 1.19)
  • Now load-minecraft-default-textures is restored.
  • Fix a problem that built core shader has comment.
  • Fix mmocore_casting_slot placeholder.
  • Fix compass pointer (Fabric)
  • Fix locale problem in Java 17

Add

  • Add more uniform value in shaders json.