ichttt / FirstAid

A Minecraft Mod that changes the vanilla health system
GNU General Public License v3.0
29 stars 28 forks source link

Bug with PlayerEx regeneration #146

Open megagnarxd opened 2 years ago

megagnarxd commented 2 years ago

Hello, to start off with, I love your mod and would like to use it for my custom modpack. However, there seem to be an incompatibility when it comes to playerEx's health regeneration. (https://ibb.co/BT6t2Yn). What happens is that my screen keeps shaking when I am regenerating. Character keeps taking damage (https://ibb.co/vXsV5R6).

Any way to resolve this issue? Please do let me know, hopefully this is fixed.

Minecraft version: 1.16.5 First Aid version: 1.9.7 PlayerEx version: 1.18

NeoSunSoar commented 2 years ago

Had the same issue as you in my ModPack. I was able to narrow it down to an issue with PlayerEx thanks to your post here. (Thank you). Here is how to fix it in a current playthrough.

Steps To Fix:

1) Make sure you have cheats enabled. If you don't, go into the ESC menu and click Open To Lan, set Allow Cheats to On, then click Start Lan World.

2) Open your inventory then your Skill Sheet by clicking the scroll in the right hand corner.

3) Take Note of your level and your attribute levels. Take a screenshot if you need to by pressing F2. Screenshots can be found in the profile folder in the folder Screenshots. Or write it down if tabbing in and out is not an option or if you don't have a second screen.

4) Close out of your inventory

5) Open the Mods Config Menu via the ESC Menu, Then Type in player in the search. Once Player EX comes up, click it then Config.

6) Next click Modify under Common Configurations, Then Functions.

7) Turn off Add Health Regen and turn off Add Health Regen Amp. Then click back, and then save.

8) Exit the config menu and the ESC menu back into the game.

9) Now press your / key to open the chat text line.

10) Copy and paste this command into the chat text or after writing it down, type it out, replacing player with your character name then enter.

/playerex reset player

11) This will completely reset your skills and clear out the Healing/Damage Bug. Not to worry, you are about to get your levels back without the bug.

12) Next Type or paste this line into the chat text, again replacing player with your character name, and inputting your Level number you noted before, replacing amount then press enter.

/playerex level-add player amount

13) Press ESC to exit the chat text input.

14) Go back into your inventory, and then back into your skill sheet. You can now add back points into your attributes to allow you to wear your armor and use your weapons and tools.

This disables the health regen boost that comes with Player Ex, however you still can heal naturally over time and with food along with bandages, salves, enchantments, baubles, spells, so on and so forth.