Find the directory of your Minecraft profile. (For noobs: Open your launcher, click Edit Profile, click Open Game Dir)
Open folder "mods" and put the .litemod file into it.
Run your Minecraft and see what happens!
Configuration file "horseattribs_config.json" is in "\liteconfig\common\". you can edit it using an external text editor.
Parameters:
"display_mode": 0 as "both", 1 as "percentile", 2 as "rounded real"; for horses, donkeys, and mules
"strict_limit": only accepts true or false; for horses, donkeys, and mules
"display_mode_llama_h": 0 as "both", 1 as "integer", 2 as "rounded real"; for llamas' hit points only
"display_mode_llama_t": 0 as "both", 1 as "integer", 2 as "rounded real"; for llamas' strength tiers only
About percentile:
If you don't know what percentile is, please Google it first.
I use the name "percentile" because there is no other term suitable to describe conversion of a value in the range to a number between 0 and 100, although it isn't true percentile which compares it from all horses existing in that world. You can pretend that there is a group of nearly-infinite horses with each possible values existing the same amount, and we get the percentile of specified attribute of a horse from the group.
About language support:
Current .lang files: en-US, ja-JP, zh-TW
For ones working on translation:
You can get the .lang file by opening the .litemod with 7zip or any zip/unzip software.
The line amount of a tooltip can be different in each languages.
The number of "HorseAttribs.options. (whatever) .tooltip.lines" should be the amount of how many lines it has.
For example:
HorseAttribs.options.isSensitiveOnLimit.tooltip.lines=8
HorseAttribs.options.isSensitiveOnLimit.tooltip.line0=Strict Limit
HorseAttribs.options.isSensitiveOnLimit.tooltip.line1=A value approximates but not exact
HorseAttribs.options.isSensitiveOnLimit.tooltip.line2=on either limit will have percentile
HorseAttribs.options.isSensitiveOnLimit.tooltip.line3=displayed as 1 or 99 depending on
HorseAttribs.options.isSensitiveOnLimit.tooltip.line4=which end it nears to. i.e. only
HorseAttribs.options.isSensitiveOnLimit.tooltip.line5=worst/perfect cases will be 0/100 PR.
HorseAttribs.options.isSensitiveOnLimit.tooltip.line6=Does not affect real values.
HorseAttribs.options.isSensitiveOnLimit.tooltip.line7=Helpful to determine perfect horses.
There are 8 lines from "line0" to "line7", so "lines" is set to "8"
The max amount supported is 16. Exceeded lines will be trimmed to 16. Non-positive and illegal values will be treated as 1.
(Stupid forum keeps squashing text below code parts)
Todo & planning:
may give a new name to option "strict limit" because I don't really like it
make a forge mod variation once my skill meets it
submit source code to somewhere
Known Bugs:
(place holder)
Conflicts/Side Effects with other mods:
TooManyItems by Marglyph (the text will lose color)
Any mods overriding/injecting GuiScreenHorseInventory.class
Change Log:
2017-10-04 v1.1 for 1.12.2:
Upgraded to 1.12.2
2017-08-08 v1.1 for 1.12.1:
Upgraded to 1.12.1
2017-07-29 v1.1 for 1.12:
Upgraded to 1.12
2017-07-16 v1.1 for 1.11.2:
Changed the way to display a llama's attributes
Added separate options for llamas only
Minor cleanup
2016-12-29 v1.0.3 for 1.11.2:
Upgraded to 1.11.2
2016-12-23 v1.0.3 for 1.11:
Upgraded to 1.11
Replaced deprecated method for updated .lang files
2016-07-19 v1.0.2 for 1.10.2:
Upgraded to 1.10.2
2016-07-02 v1.0.2 for 1.10:
Upgraded to 1.10
2016-06-06 v1.0.2 for 1.9.4:
Upgraded to 1.9.4
Changed the way of method injection from Injector to Sponge Mixin.
2016-04-17 v1.0.1 for 1.9:
Upgraded to 1.9
Slightly modified the listener method
2016-04-10 :
v1.0.0T for 1.7.10 Release (Downgrade). Uses different way of transformation.
Build number in all filenames omitted because every upgrade/downgrade changes the whole builder
2016-04-08 v1.0.0 for 1.8.9:
Upgraded to 1.8.9
2016-04-05 v1.0.0 for 1.8:
First Release
Disclaimer:
HorseAttribs only gets values from your own Minecraft client side, not from the server. This mod DOES NOT send any information to any IP address. All code is written by myself and I got permission from Wubbi to design similar interface, so I'M NOT STEALING FROM OTHERS. But still, like other mods, USE AT YOUR OWN RISK (if any).
Special Thanks:
WubbiConcepts - the idea provider, who approved me to write a new mod similar to his old mod "Horse Stats"
Mumfrey - the creator of LiteLoader, who helped me to apply new modding techniques.
Sollace(S0llace)
Killjoy1221(JoyJoy)
Feel free to ask questions and give suggestions. If anything should be added, please let me know.
I would like to know if you plan to update this to 1.11 as well. =) It's such a handy tool when it comes to saving time.
Sorry for late reply. I forgot to check the update of LiteLoader because I was too busy. I'm not going to abandon this mod, so I'll try to get it done soon.
Is there anything similar to this on Forge? It's such a chore for me to check stats when breeding to sort out the ones the ones that are for selling.
If I knew anything like my mod and keep updating, I would have never made one myself. All I know is something adding new items for the purpose or installing on sever side, which doesn't work in multiplayer games.
Using the inventory screen is the least harmful way to do the job.
This mod has an incompatibility with Not Enough Items for 1.8+, causing a crash in that mod's ASM transformations.
I was unable to reproduce the error you had. Version 1.0.3 for 1.11.2 works fine with NotEnoughItems for 1.11.2.
Please note "1.8+" doesn't mean ability to work with Minecraft 1.9 or newer. You should use only the version of NEI exactly for your Minecraft version.
It's an error of ":compileJavaNote:", where the mixin method isn't working. I've left a message to the author of LiteLoader, and I'm waiting for his reply.
Since I'm coding on LiteLoader, I don't need to use MCP directly. Thanks anyway.
I know someone's mentioned forge before, but you really should do this mod on forge as well. Its easier for people to maintain 1 modloader instead of 2.
I had considered that once, but now I wouldn't if not necessary. I don't have enough time to dig into Forge right now.
Also, there are many advantages of LiteLoader for modders to make client-only and new-objects-free mods. We don't need to handle most packets ourselves, we can obviously shorten our code, and we can use pre-made listeners to do what we want.
You could try asking MamiyaOtaru, the author of VoxelMap, for converting his mod back to forge. He might tell you more reasons of staying in LiteLoader.
Wow they are updating like crazy here lately 1.12.2 already what?!?!?!
Seems like a lot of mods haven't even realized there was another update yet. lol
Except Mumfrey he is so on top of it with LiteLoader!
This is my very first mod. Not many functions, but tiny and handy.
Allows you to see a horse's max health, jump strength, and run speed in its own inventory GUI.
For llamas, it displays the max health and the strength tier instead.
Works on multiplayer server WITHOUT server-side installation!
Description:
To view a horse's attributes, the horse has to be tamed first, then you sneak and right-click it, or ride on it and press inventory button.
H means maximum health, J means jump strength, S means run speed, T (llama only) means strength tier.
The attributes will be represented in one of following forms:
The color of an attribute value is determined by the percentile in following spectrum:
(Brown and dark yellow only happen on summoned/modified horses)
There are 2 additional buttons above the horse inventory GUI for configuring the mod. The configuration file will be updated after you close the GUI.
Requires LiteLoader. Make sure you have the version compatible with your Minecraft!
Download links:
Older Versions:
Installation:
Configuration file "horseattribs_config.json" is in "\liteconfig\common\". you can edit it using an external text editor.
Parameters:
About percentile:
If you don't know what percentile is, please Google it first.
I use the name "percentile" because there is no other term suitable to describe conversion of a value in the range to a number between 0 and 100, although it isn't true percentile which compares it from all horses existing in that world. You can pretend that there is a group of nearly-infinite horses with each possible values existing the same amount, and we get the percentile of specified attribute of a horse from the group.
About language support:
Current .lang files: en-US, ja-JP, zh-TW
For ones working on translation:
You can get the .lang file by opening the .litemod with 7zip or any zip/unzip software.
The line amount of a tooltip can be different in each languages.The number of "HorseAttribs.options. (whatever) .tooltip.lines" should be the amount of how many lines it has.
For example:
There are 8 lines from "line0" to "line7", so "lines" is set to "8"
The max amount supported is 16. Exceeded lines will be trimmed to 16. Non-positive and illegal values will be treated as 1.
(Stupid forum keeps squashing text below code parts)
Todo & planning:
Known Bugs:
Conflicts/Side Effects with other mods:
Change Log:
Disclaimer:
HorseAttribs only gets values from your own Minecraft client side, not from the server. This mod DOES NOT send any information to any IP address. All code is written by myself and I got permission from Wubbi to design similar interface, so I'M NOT STEALING FROM OTHERS. But still, like other mods, USE AT YOUR OWN RISK (if any).
Special Thanks:
Feel free to ask questions and give suggestions. If anything should be added, please let me know.
This is exactly what I was looking for. Thank you so much for creating it!
This is fantastic! I can't wait to see it updated to 1.10. Thank you for sharing.
Sorry for late reply. I forgot to check the update of LiteLoader because I was too busy. I'm not going to abandon this mod, so I'll try to get it done soon.
Is there anything similar to this on Forge? It's such a chore for me to check stats when breeding to sort out the ones the ones that are for selling.
Any plans to add llama stat viewing to this mod also?
Major Incompatibility report for you
This mod has an incompatibility with Not Enough Items for 1.8+, causing a crash in that mod's ASM transformations.
Hi! Could you please update for 1.12? It's not working right now.
Sorry for late reply because of being busy.
Of course I will. Sorry for being slow.
Thanks for reporting. Although I'd never dealt with any conflict issue any once, I'll see what I can do.
I'll consider it. Once I figure out how attributes of a llama works, I'll add it in both the one for 1.11.2 and the one for 1.12.
If I knew anything like my mod and keep updating, I would have never made one myself. All I know is something adding new items for the purpose or installing on sever side, which doesn't work in multiplayer games.
Using the inventory screen is the least harmful way to do the job.
Since I have a major problem in 1.12 modding, I decided to upload the new version for 1.11.2 first.
Now it displays llamas' attributes differently to horses. It doesn't have "J" and "S", instead, it displays the strength tiers "T".
I was unable to reproduce the error you had. Version 1.0.3 for 1.11.2 works fine with NotEnoughItems for 1.11.2.
Please note "1.8+" doesn't mean ability to work with Minecraft 1.9 or newer. You should use only the version of NEI exactly for your Minecraft version.
Not sure if this will help with the issue your having but, there is now a pre-release of the MCP for 1.12.
It's an error of ":compileJavaNote:", where the mixin method isn't working. I've left a message to the author of LiteLoader, and I'm waiting for his reply.
Since I'm coding on LiteLoader, I don't need to use MCP directly. Thanks anyway.
Mumfrey is awesome i'm sure he will be able to help! And he is usually very good about answering questions on the forum.
HorseAttribs for Minecraft 1.12 is out now!
Yeah. He finally answered, and my problem is solved now.
Just as you got it fixed they update to 1.12.1 lol well at least it was working
I had considered that once, but now I wouldn't if not necessary. I don't have enough time to dig into Forge right now.
Also, there are many advantages of LiteLoader for modders to make client-only and new-objects-free mods. We don't need to handle most packets ourselves, we can obviously shorten our code, and we can use pre-made listeners to do what we want.
You could try asking MamiyaOtaru, the author of VoxelMap, for converting his mod back to forge. He might tell you more reasons of staying in LiteLoader.
Thanks for telling me. I've done porting to 1.12.1.
Thank you so much! It really is an awesome mod so again, thank you for your dedication to it.
Wow they are updating like crazy here lately 1.12.2 already what?!?!?!
Seems like a lot of mods haven't even realized there was another update yet. lol
Except Mumfrey he is so on top of it with LiteLoader!
Any update on the 1.12.2 version?
if you hack the version in the .json file it still works on 1.12.2