Commit Graph

70 Commits

Author SHA1 Message Date
Wuzzy
e6e8f2d688 Hide bar background when max == 0
The bars are intended to show the ratio between value and max.
For a max of 0 (which implies a value of 0), this implies a value/max
ratio of 0/0, which is undefined. Therefore, for this very special case,
we just hide the bar altogether.
2015-02-04 21:28:20 +01:00
Wuzzy
017b304396 Allow freely chosen texture names for custom bars 2015-02-04 20:36:27 +01:00
Wuzzy
d67a97011b Fix bug preventing change of custom HUD bars 2015-02-04 18:42:40 +01:00
Wuzzy
563db9cb4c Set hudstate and hudids directly in add_all 2015-02-04 18:14:44 +01:00
Wuzzy
f046592824 Move custom hudbars down by 1 iff damage disabled 2015-02-04 18:00:02 +01:00
Wuzzy
895028086c Align custom hudbars properly 2015-02-04 17:26:43 +01:00
Wuzzy
df9c660e09 Add hide and unhide functions for bars 2015-02-04 16:16:48 +01:00
Wuzzy
018087b60a Add API functions to add and modify custom bars 2015-02-04 14:52:48 +01:00
Wuzzy
13058ae1b4 Hide breath bar when breath == 11 2015-02-04 04:53:29 +01:00
Wuzzy
c8d8df7777 Align health and breath bars 2015-02-04 04:32:11 +01:00
Wuzzy
1a89bda932 Add icons to bars 2015-02-04 04:10:11 +01:00
Wuzzy
4776027d18 Add text to bars 2015-02-04 04:01:56 +01:00
Wuzzy
2e40e311a0 Add simple background image for the bars 2015-02-04 03:23:06 +01:00
Wuzzy
5f3d4b70c6 Remove hotbar support 2015-02-04 02:25:47 +01:00
Wuzzy
f6d660d40f Use max. 160 pixel wide bars to represent stats 2015-02-04 02:18:22 +01:00
Wuzzy
c198284de9 Don't set breath for respawners 2015-02-04 01:53:05 +01:00
Wuzzy
860d0b38fd Remove armor and hunger 2015-02-04 01:24:27 +01:00
Wuzzy
8a9d81303c Change mod name to “hudbars” in source code ... at least partially 2015-02-04 01:14:47 +01:00
Wuzzy
2a2db9ab9c Change name of mod to “HUD bars” [hudbars] 2015-02-04 01:10:20 +01:00
Nathan Salapat
169e4d44bf Added support for animals modpack (cooking)
Checking to see if I'm doing this right.
2014-10-13 08:35:59 +02:00
BlockMen
06207b44cd Remove debug output, push to 1.4 2014-10-03 08:59:25 +02:00
BlockMen
ef78a05d51 Add support for requested mods 2014-10-03 08:46:57 +02:00
BlockMen
442a66e12f Better crosshair texture, use default hand 2014-10-03 08:13:58 +02:00
BlockMen
26d3f38a9a Add experimental exhaustion to control hunger (based on player actions) 2014-10-03 08:12:55 +02:00
BlockMen
36a1b23490 Add support for ethereal and push to 1.3.3 2014-08-16 13:24:41 +02:00
BlockMen
078c621ace Prevent crash by missing armor values 2014-08-16 13:19:33 +02:00
BlockMen
6a06106316 Push to 1.3.2 2014-08-05 05:27:30 +02:00
tenplus1
aaf234298f Add optional healing for items
Author:    tenplus1
2014-08-05 05:23:34 +02:00
BlockMen
bce8036dd4 Add support for creatures 2014-08-05 04:49:05 +02:00
Chris Beelby
0f83ef9543 Require base farming mod to be loaded 2014-07-04 00:39:07 -04:00
BlockMen
28754289b7 Compatibility update (scaling statbars) 2014-05-13 18:59:08 +02:00
BlockMen
45eebf79c9 Fix new main timer 2014-04-14 11:16:58 +02:00
BlockMen
43b09253d9 Die by starving, push to 1.3 2014-04-14 11:01:47 +02:00
BlockMen
2da67c5fa1 Fix breath, lower update rate 2014-04-14 06:51:28 +02:00
BlockMen
9fb42bd469 Abuse inv for hunger, no heal while drowning
no file flood anymore 8)
2014-04-14 06:17:26 +02:00
BlockMen
d47b065d68 Sort supported mods alphabetically (+food mod) 2014-04-10 19:30:45 +02:00
Xanthin
5377e03ae0 Fix typo, more food support 2014-04-08 18:52:00 +02:00
BlockMen
d9737800ed Images update and push to 1.2 2014-04-06 19:03:01 +02:00
BlockMen
5fe167c4ea Don't set hotbar images with crafting mod 2014-04-06 18:42:37 +02:00
BlockMen
b479f49e14 Hide armor bar if not wearing armor 2014-04-06 18:31:56 +02:00
BlockMen
4010af5de4 Add support for mods: fruit and mush45 2014-04-06 18:07:56 +02:00
BlockMen
ff9a290810 Send statbar values only to client when changed 2014-04-06 16:33:38 +02:00
BlockMen
c8c79bc275 Merge pull request #2 from CiaranG/master
More mod support and override improvement
2014-04-06 16:17:56 +02:00
Ciaran Gultnieks
c544da1161 Add support for mushroom mod food/poison 2014-03-24 13:11:54 +00:00
Ciaran Gultnieks
4eff5b7850 Support for bushes_classic foods (plantlife modpack) 2014-03-24 09:36:08 +00:00
Ciaran Gultnieks
d23d5d4cfe More reliable food overrides
Use reliable optional dependencies instead of a 0.5 second delay.
2014-03-22 19:31:25 +00:00
BlockMen
09fc5ee48a Add support for 3darmor mod, add poisen food and restructure code 2013-09-13 20:18:16 +02:00
BlockMen
01e267e99a Various fixes and mark as stable 2013-09-09 03:16:18 +02:00
BlockMen
030f30d47e Enable damage when hunger is 0 2013-09-03 14:17:28 +02:00
BlockMen
2e6127b42b Update README.txt 2013-08-29 21:52:19 +02:00