Changed the durability of the armor for it to be more reasonable
There is now a 1% chance that one of your armor pieces(if it is chocolate armor) will lose 1 durability every 2.5 seconds if you are 10 blocks within lava. If you are in the nether your durability will go down on each armor piece about 50 every second. You can't wear this armor in the nether. You must be wearing this armor for that to happen. If your durability reaches 0 you will be one shot by any damage due to the fact that you have melted.
So I need to be able to check if a player is near lava for part of a mod I am making. I want to make their armor durability go down if they are near lava so how would I check for that?
This is the first mod I have created and it is for minecraft 1.7.10. This adds on items, food, armor, and tools to the game.
Chocolate milk-restores 2 hunger bars
Hot chocolate-restores 4 hunger bars
Chocolate-restores 6 hunger bars
Chocolate ore- spawns at Y 0-24 CAN ONLY BE MINED WITH DIAMOND OR CHOCOLATE PICKAXE
Chocolate ingot
Chocolate block-CAN ONLY BE MINED WITH DIAMOND OR CHOCOLATE PICKAXE
There is now a 1% chance that one of your armor pieces(if it is chocolate armor) will lose 1 durability every 2.5 seconds if you are 10 blocks within lava. If you are in the nether your durability will go down on each armor piece about 50 every second. You can't wear this armor in the nether. You must be wearing this armor for that to happen. If your durability reaches 0 you will be one shot by any damage due to the fact that you have melted.
Q: Can I make a mod showcase or a modpack with this mod?
A: If you would like to make a youtube video or use this mod in a modpack you must give me credit and a link to this thread.
Q: Where can I report bugs?
A: Just send me a message on here or comment on the thread
Q: Will this mod get more features sometime in the future?
A: I plan on adding a dimension and some mobs but for now this is it
Q: Is this an awesome mod?
A: DUH of course it is!
0
V 1.1 IS NOW OUT
changes
------------
Changed the durability of the armor for it to be more reasonable
There is now a 1% chance that one of your armor pieces(if it is chocolate armor) will lose 1 durability every 2.5 seconds if you are 10 blocks within lava. If you are in the nether your durability will go down on each armor piece about 50 every second. You can't wear this armor in the nether. You must be wearing this armor for that to happen. If your durability reaches 0 you will be one shot by any damage due to the fact that you have melted.
0
I tried this but the code didn't work
http://pastebin.com/fv8eJNSU
Help please!!!
0
So I need to be able to check if a player is near lava for part of a mod I am making. I want to make their armor durability go down if they are near lava so how would I check for that?
1
Adding a new feature soon!
0
Thanks for the suggestion, this is my first mod :P. The spawn rate of it is more rare then diamond btw.
0
This is the first mod I have created and it is for minecraft 1.7.10. This adds on items, food, armor, and tools to the game.
Chocolate milk-restores 2 hunger bars
Hot chocolate-restores 4 hunger bars
Chocolate-restores 6 hunger bars
Chocolate ore- spawns at Y 0-24 CAN ONLY BE MINED WITH DIAMOND OR CHOCOLATE PICKAXE
Chocolate ingot
Chocolate block-CAN ONLY BE MINED WITH DIAMOND OR CHOCOLATE PICKAXE
There is now a 1% chance that one of your armor pieces(if it is chocolate armor) will lose 1 durability every 2.5 seconds if you are 10 blocks within lava. If you are in the nether your durability will go down on each armor piece about 50 every second. You can't wear this armor in the nether. You must be wearing this armor for that to happen. If your durability reaches 0 you will be one shot by any damage due to the fact that you have melted.
Chocolate pickaxe-12 damage
Chocolate axe-13 damage
Chocolate sword-14 damage
Chocolate shovel-11 damage
Chocolate hoe
Chocolate helmet-1.5 armor bars 2200 durability
Chocolate chestplate-4 armor bars 3200 durability
Chocolate leggings-3 armor bars 3000 durability
Chocolate boots-1.5 armor bars 2600 durability
Q: Can I make a mod showcase or a modpack with this mod?
A: If you would like to make a youtube video or use this mod in a modpack you must give me credit and a link to this thread.
Q: Where can I report bugs?
A: Just send me a message on here or comment on the thread
Q: Will this mod get more features sometime in the future?
A: I plan on adding a dimension and some mobs but for now this is it
Q: Is this an awesome mod?
A: DUH of course it is!
0
Same as what GuruGamer said
0
xD didn't even notice that
1
Congrats