TCDCommons is no longer a required dependency for Forge versions of this mod. I finally figured out how to make libraries embedded on Forge.
If you already have TCDCommons installed, please either remove it or update it. Otherwise weird things *may* happen (Idk if they actually will).
v2.1, but ported to Forge. Due to some complications I had while porting the mod, there are some important things to note:
- Requires TCDCommons forge-1.19.2 - Despite my best efforts to try and figure out how to make TCDCommons embedded like it is with Fabric, I unfortunately couldn't. As a result, you will have to install this file as well in order to use this version of the mod.
- 1.19.2 only - Does not work with 1.19.3. I will have to make a forge-1.19.3 port separately.
- REI - I failed to port this feature to Forge, so... You won't be able to left/right-click item stats to bring up the REI menu for the given items.
- BS Hud Screen - I also didn't manage to port the hud stats feature to Forge. I might give it another shot in the future tho.
Fixed a few errors I made in the mod's metadata. Keep in mind that the Forge versions of this mod still require TCDCommons forge-1.18.2.
v2.1, but ported to Forge. Due to some complications I had while porting the mod, there are some important things to note:
- Requires TCDCommons forge-1.18.2 - Despite my best efforts to try and figure out how to make TCDCommons embedded like it is with Fabric, I unfortunately couldn't. As a result, you will have to install this file as well in order to use this version of the mod.
- REI - I honestly have no idea how to get the feature working with Forge, so... You won't be able to left-click item stats to bring up the REI menu.
- BS Hud Screen - I also didn't manage to port the hud stats feature to Forge. I might give it another shot in the future tho.
Same as v2.1+1.19.2, but for fabric-1.19.3. Becuase of the many changes that came to 1.19.3, I had to make a separate version of the mod specifically for 1.19.3.
Note:
If for some reason you chose to have TCDCommons API installed alongside this mod version (which is optional), make sure it is also for 1.19.3, unless you wanna crash the game.
Important: If you also downloaded TCDCommons v1.0, you must replace it with v2.0. Otherwise a crash will take place.
Bug fixes from TCDCommons:
- Smooth scrolling will now only work with fancy graphics and above. This is for performance reasons, because when you turn down the graphics settings, you obviously want more performance. (TCDCommons)
- Fixed a bug where mouse dragging could be done with any mouse button. Now it can only be done with LMB (left mouse button). (TCDCommons)
New features:
- Item stat and mob stat panels will now show total stats at the bottom of the panel. Note: The "total stats" shown will ignore statistics that have been filtered out using the search filters.
- Added "Better Stats Hud Screen" (BSHS). A feature that allows you to pin any item or mob stat onto the in-game hud. (Note: This feature is still in development (Beta!))
- Because player statistics are handled server-side, and this mod aims to be fully client-side, for now the BSHS will only update periodically every once in a while by sending a statistics request packet to the server. In other words, the stats pinned to the hud will not update in real-time (because that would cost a looooooot of bandwidth). The stat update rates are dynamically determined by this mod to avoid bandwidth waste when for example you aren't doing anything. Because of this, BSHS is still in beta, as I plan on writing a client-side stat tracker that will allow for real-time hud stat updating.
- The BSHS can be accessed in the "View" section in the top menu.
- Right click any item or mob stat after which a context menu will show up allowing you to pin the given stat to the hud. If you have REI installed, hold down SHIFT while right clicking.
The next major release of Better Stats. This release changes a lot about the mod (in the back-end), so the UI design is similar to that of v1.x.
Changelog for the mod's source code and behavior:
- Removed configs. They did very little anyways, and probably weren't even used by anyone.
- No more dependencies. Having to download Fabric API may be annoying to some people, so no more of that.
- The source code has been revamped aka improved, optimized, and reorganized.
- Better Stats is now using an embedded library for GUI called "TCDCommons" (see it on GitHub). This library helped improve the GUI by a lot, and make it function better. As mentioned above, you do not have to actually download it, as it is embedded into this mod. Only download TCDCommons for minor tweaks and patches.
- The mod is now licensed under the MIT License.
Changelog for new features in v2.0:
- Bug fixes (as usual).
- Smooth scrolling. Now when you scroll a statistics panel, it will scroll smoothly.
- Removed the red dot from the "Statistics" button. It was there to let the user know about the changes to the stats GUI, but it gets annoying.
- A menu bar has been added. A perfect place to put extra buttons and features.
- When Mod Menu is installed, the menu bar will now also show links for this mod (because Mod Menu has the translation keys I needed for that).
- Fixed a crash when cheating (/give)-ing an item by (shift+click)-ing it's item stat.
The way this feature works is by executing /give in your name when cheating an item. To do this, the mod used the 1.19 chat system. It is because of this that when attempting to do this on 1.19.1+, the game would crash, as 1.19.1+ uses a different chatting system. This release fixes the crash, but as a trade-off, it no longer supports 1.19.
Fixed issue with the mod crashing dedicated servers when used in a dedicated server enviroment.
Middle-mouse-clicking an item stat will now show a confirmation screen. Please read the v1.4 changelogs for more info.
- Implemented narrations for statistics. However, there is a bug where narrations do not play when navigating using arrow keys
- Removed Illusioner from the Monsters Hunted tab, as it cannot be obtained in survival and can only be summoned. Actually, it was never there to begin with, and it was all just an illusion /jk
- Added a "Wiki" feature for mobs and items. You can now middle-mouse-click a mob or an item stat to open the Wiki article for the given mob or item. For modded entries, you need to define the Wiki site manually using the new Wiki config
- Added a REI integration feature (installing the mod is optional). You can now left/right-mouse-click an item stat to open the REI screen for the given item
- Added a new config property: ENABLE_WIKI_LINKS - Can be used to disable the "Wiki" feature
- Added a new config property: ENABLE_REI_LINKS - Can be used to disable the REI integration feature
- Added a new debug property: DEBUG_LOG_SCREEN_CHANGES - Not that useful, it logs MinecraftClient.setScreen(Screen) calls