1

Help! How do I put a attack damage on an item in eclipse?

FLAMESS123 7/10/14 10:01 pm
935
7/13/2014 11:58 pm
Hi, I was modding a weapon, except I didnt know how to put a specific damage value on it, the item just by default has the same damage value as a punch. But I want to make my weapon have 24 attack damage or so. How do I do so? I set up the item and everything, except I dont know how to do that one thing. Please help.
Thanks!
Posted by
FLAMESS123
Level 24 : Expert Taco
15

  Have something to say?

JoinSign in

8

Assassin172611
07/13/2014 11:58 pm
Level 1 : New Miner
1
Veritas025
07/13/2014 11:41 pm
Level 55 : Grandmaster System
[/code]/** Harvest Level, Max Uses, Efficiency (f), Damage (f), Enchantability */
public static EnumToolMaterial MyToolMaterial = EnumHelper.addToolMaterial("Stronger", 3, 800, 10.0F, 8.0F, 11);[/code] Parameters correspond to comment like Harvest is 3 (diamond) Max Uses is 800 10 is efficiency how fast it can mine Damage the tool would have 8 attack damage and enchant ability is 11. And MyToolMaterial is the name of the material that you would put for your sword.
1
anonpmc1656136
07/11/2014 6:01 am
Level 9 : Apprentice Miner
[deleted]
1
Skitto493
07/11/2014 12:27 am
Level 55 : Grandmaster Dragon
You can just use in-game commands

/give @p NameOfItemHere 1 0 (AttributeModifiers:[{AttributeName:"generic.attackDamage",Name:"Attack Damage",Amount:25,Operation:0,UUIDLeast:894654,UUIDMost:2872}

There's alot more you can do with vanilla commands
1
RiptideNC
07/11/2014 12:11 am
Level 1 : New Crafter
Well I kind of forgot but hopefully you'll find your answers in SCMowns Tut videos on youtube :/ sorry dude though It's been a while since I've modded or coded
1
FLAMESS123
07/10/2014 10:29 pm
Level 24 : Expert Taco
Im on forge
1
FLAMESS123
07/10/2014 10:21 pm
Level 24 : Expert Taco
oh forge sorry i forgot to mention that
1
RiptideNC
07/10/2014 10:12 pm
Level 1 : New Crafter
Forge or Modloader?
1

Welcome