Posted July 15, 20178 yr My mob just won't regenerate health unless thrown with potions, how do I make it naturally regenerating health?
July 15, 20178 yr 2 minutes ago, TheRPGAdventurer said: My mob just won't regenerate health unless thrown with potions, how do I make it naturally regenerating health? Override the update/updateEntity method and give it some health back every so often. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
July 15, 20178 yr Author Just now, Animefan8888 said: Override the update/updateEntity method and give it some health back every so often. what class in minecraft do I have to look for examples?
July 15, 20178 yr Just now, TheRPGAdventurer said: what class in minecraft do I have to look for examples? No Entity besides the Player and the Wither naturally regen as far as I know, so try those. VANILLA MINECRAFT CLASSES ARE THE BEST RESOURCES WHEN MODDING I will be posting 1.15.2 modding tutorials on this channel. If you want to be notified of it do the normal YouTube stuff like subscribing, ect. Forge and vanilla BlockState generator.
July 15, 20178 yr Can make your own with the EntityLivingUpdate Event and simply just use the Entity.Heal() command I have various timers and the like in my mod attached via Capabilities so I can say "This entity can only heal after not being damaged fro 10 seconds" Currently updating my Mod to 1.10.2 https://bitbucket.org/hugo_the_dwarf/riseoftristram2016/src?at=master
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.