Features
- Bug fixes.
- Fabric platform supports(experimental).
- Bitmap text supports(experimental).
- Adds <space:length> format in text pattern.
- Optimizes head renderer.
- Supports internal compass pointer. (/hud pointer).
- Supports multiple compass pointer and image.
- Supports Skript expression for compass pointer.
Example
Code (YAML):
# BetterHud/text/test_bitmap_font.yml
number_font:
type
: bitmap
#It requires type "bitmap"
chars
:
#bitmap font must have chars configuration.
1:
file
:
"font/number.png"
codepoints
:
-
"0123456789"
Code (YAML):
#BetterHud/compass/test_compass.yml
default_compass:
type
: circle
default
: true
file:
point
:
#default pointer
name
:
"compass/point.png"
y
: -8
custom-icon
:
#custom pointer icon
other
:
#icon name
name
:
"compass/other_point.png"
y
: -8
Code (Text):
command /pointadd:
trigger:
#It uses image "point".
point add location at 0, 0, 0 in world "world" named "test1" to player
#It uses image "custom-icon.other".
point add location at 10, 0, 0 in world "world" named "test2" with icon "other" to player
command /pointremove:
trigger:
point remove "test1" to player
point remove "test2" to player