generated from FabricMC/fabric-example-mod
-
Notifications
You must be signed in to change notification settings - Fork 176
Hud Render
apace100 edited this page Mar 2, 2021
·
4 revisions
A data type used in powers which have the possibility for displaying a cooldown / resource bar in the HUD.
Fields:
should_render
, boolean, default = true: Whether the bar should actually be visible.
sprite_location
, string, default = "origins:textures/gui/resource_bar.png": The path to the file in the resource pack which contains what the bar looks like. See List of resource bar files for a list of files included by default in the mod.
bar_index
, int, default = 0: The indexed position of the bar on the sprite to use.
Tutorials (Data packs)
Video Tutorial by CandyCaneCazoo
Tutorials (Add-ons)
Working with more unique powers
Lists
List of vanilla damage source names
Data Types