Skip to content

Releases: toxicity188/BetterHud

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.

1.9

10 Nov 06:22
d016196
Compare
Choose a tag to compare
1.9

BetterHud 1.9

Notice

  • Now support about 1.17, 1.17.1 and 1.18.1 is dropped.
  • BetterHud and my other plugin does NOT support a closed or obfuscated source mod/plugin/modified-client such as ItemsAdder, Optifine and Feather.

Resource pack merge

  • If your server has Polymer, BetterHud's resource pack will automatically be merged. (Fabric)
  • If your server has Oraxen, BetterHud's resource pack will automatically be merged. (Bukkit)

Caution

  • Please set 'pack-type' in config.yml to 'none' if you want to use Polymer or Oraxen.
  • If your server uses Polymer, you have to use '/polymer generate-pack' instead of '/hud reload'.
  • If your server uses Oraxen, you have to use '/oraxen reload all' instead of '/hud reload'.

Text layout

1

test_text:
  texts:
    1:
      name: unifont
      pattern: Minecraft is a 3D sandbox adventure game developed by Mojang Studios where players can interact with a fully customizable three-dimensional world made of blocks and entities. Its diverse gameplay options allow players to choose the way they play, creating countless possibilities.
      align: center
      line-align: left
      scale: 0.5
      line: 5
      split-width: 300
      y: 32

2

test_text:
  texts:
    1:
      name: unifont
      pattern: |
        <image:star> Background test <image:star>
        <image:star> Background test2 3 34 23423 <image:star>
      background: test
      align: center
      line-align: center
      scale: 0.5
      line: 5
      split-width: 300
      y: 32
  • Add 'line' to use multiple line text.
  • Add 'line-width' to define the y location of each line.
  • Add 'split-width' to define max length of each line.
  • Add 'line-align' to sort each line.
  • BetterHud uses '\n' to split text line.

Placeholder (Bukkit)

These placeholders are added:

  • has_main_hand
  • has_off_hand
  • entity_health_percentage
  • entity_vehicle_health_percentage

Placeholder (Fabric)

These placeholders are added:

  • has_main_hand
  • has_off_hand

Placeholder (MythicMobs)

These placeholders are added:

  • mythicmobs_aura_duration_reversed:arg
  • mythicmobs_entity_current_cooldown:arg
  • mythicmobs_entity_aura_stack:arg
  • mythicmobs_entity_aura_max_duration:arg
  • mythicmobs_entity_aura_duration:arg
  • mythicmobs_entity_aura_duration_reversed:arg
  • mythicmobs_entity_has_aura:arg

Fix

  • Fix inappropriate text space.
  • Fix self-host to stop when switch to other pack type.
  • Fix command load problem.
  • Fix inappropriate compass location.
  • Fix no mysql connector library found in Fabric and Velocity.

Improve

  • Improve compass movement.

Config

  • Add 'remove-default-hotbar' to disable vanilla hotbar.
  • Add 'pack-type: none' to use other resource pack extension.

Library

  • Now BetterHud uses BetterCommand 1.2.
  • Clean jar file to use runtime library injector.

Contribute

These languages are included:

  • ja_JP
  • vi_VN
  • zh_CH
  • zh_TW

1.8

02 Nov 12:36
Compare
Choose a tag to compare
1.8

BetterHud 1.8

Fix

  • Merge with other resource pack #47
  • Attribute API in Bukkit to supports 1.21.3.
  • Stable version for Fabric 1.21.3 is released.
  • Optimizes resource pack zip.

Add

  • 'parties_is_leader' placeholder is added.
  • Command now uses BetterCommand library.
  • Add lang folder (like en_US.json)

Change

  • CI is changed to split each platform.

Make your own lang

  • step 1. Join your server.
  • step 2. Command /hud gen to create your language file.
  • step 3. Edit BetterHud/lang/your_language.json file.
  • step 4. if you want, you can contribute BetterHud to upload this lang file in my Discord or PR in GitHub.