This thread was marked as Locked by master801.
1.7.10
[1.7.10] nohero's mods: More Health Enchanted: Beta for Health Loss Issue 1/2/2016
Poll: Would you be fine with ONLY a forge-required More Health mod?
Ended Nov 17, 2014
Poll: A Preference: More health hardcore mode?
Ended Nov 17, 2014
Now, the poll was REALLY close, but the winner is FINDING HEART CONTAINERS IN CHESTS!!! lol more programming to to :0. Also, a new poll now for those pieces of heart: u know, 4 pieces of heart= 1 heart container ;D. For the final touch i will add sprites lol.
Also, an idea to use is have new hearts layered over the old ones, rather than have a second row so that you can constantly build up health, and so the HUD remains symmetrical
Progression of color:
Have heart containers and pieces really rare, so that it balances out having 130 hearts at max.
Idea number 2:
Can you also add a variable setting for "Starting Hearts"? For the true Zelda fan, you'd want to start with only 3 hearts. This is more of a "Hardcore Zelda Fans"/"Hardcore Minecraft Players" type thing. Make it that you can only start with 3 to 10 hearts max.
Hmm interesting ideas I was going to add heart containers (probability low) to the chests found near mob spawners and have pieces of hearts more common.
And I dont think having 130 hearts is very reasonable and 20 seems like a good number to survive a bit longer (my goal). Also that HUD idea is cool, but will involve a LOT more editing of code (and i have yet to find the heart renderer through my searches)
And yeah, for idea 2, thats pretty simple, I can make 3 hp to start (yeah its Zelda style but.... u will get owned since monsters do more dmg here then in zelda relatively)
Also for bosses, I want to have Zodiach's golem from battletowers drop a heart container :biggrin.gif: And maybe that pyramid plunder mod. But thats for later.
Slimes= pieces of heart
apple= heart container
Like this sprite for heart container?
Also can some1 find a sprite for piece of heart?
In my opinion, you should be using the sprites from BS The Legend of Zelda.
Try this for the HCP
Try this for the Heart Container
and
Thanks!
haha I will try to make this compatible w/ other mods with bosses (as this is really not what my project is focusing on lol)
I like the sprites thanks for working on them! It's odd though, when I add modloader 1.2.6 (searched on google) along with chefcraft(to model for the sprites) wierd wierd error happened:
o.o i have no idea how this happened or how to fix it.
To alestance, i think those sprites are a bit to small :sad.gif:
its not "technically" eating hearts, as i created a brand new class and did NOT use itemFood so its not technically food, but an itemHeart so u actually "use" it
My saveChunk function from my old 1.2.6 looks like:
In java any method that is capable of throwing an exception MUST declare so in its declaration or it has to catch and deal with all exceptions. Dont just straight copy this one but look how it differs from yours and see what adjustments need made to take care of your problem.
Yeah, my saveChunk function matches yours exactly
For what, heartcontainer or piece of heart? I'm gonna follow the poll answers (those probabilities are a bit high, rand.nextInt(11) does not choose from 11 ints but from 12 so those are off a bit) but every chest has up to 8 items (based on his code!) so the probability of finding a heart container is around 23% i believe. And yes, I have 1 piece of heart in every chest :biggrin.gif:
None, because i have been coding in alpha 1.2.6 and have not/cant yet touch my beta game
How about where its called FROM then.. ChunkProviderLoadOrGenerate.saveChunk()
So.... does anyone want to TEST OUT the mod? Basically a heart container is as rare as redstone, and every chests has 1 heart piece. I specifically am asking for people to look for dungeons and see if the chests have the hearts (although technically I think the code is sound, it's better safe then sorry! Also, it will only work for alpha and MAY conflict with other mods-- the items I created have id's 200 and 201 if that helps.
ALSO if you plan on helping out, sheeps drop heartPieces (like sheared) and pigs drop heart containers, use them if you like, but don't abuse it b/c you should test if the dungeon ones work...
And the sprites for heart container is (now uncooked fish, as to not confuse with the red apples in game)
the sprite for piece of heart is a slime ball! four slime balls like:
(slime balls)
should make a heart container!
Also, in order to keep the probabilities of the chest loot the same, I replaced the dropping of wheat with the dropping of heart container. The heart piece has its special own function so every chest *should* have one.
First dungeon I found had 1 chest, with a heart piece in it! (the slime ball)
Ponies.