1

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

FLAMESS123's Avatar FLAMESS1237/10/14 10:01 pm
1 emeralds 862 8
7/13/2014 11:58 pm
Assassin172611's Avatar Assassin172611
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's Avatar
FLAMESS123
Level 22 : Expert Taco
15

Create an account or sign in to comment.

8

1
07/13/2014 11:58 pm
Level 1 : New Miner
Assassin172611
Assassin172611's Avatar
1
07/13/2014 11:41 pm
Level 55 : Grandmaster Engineer
Veritas025
Veritas025's Avatar
[/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
07/11/2014 6:01 am
Level 12 : Journeyman Miner
KJP12
KJP12's Avatar
Skitto493You 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

He is using Forge, not vanilla. If he does that in one world, it isn't going to be the same in the other, as the give command ONLY MODIFY the item is given.
1
07/11/2014 12:27 am
Level 55 : Grandmaster Dragon
Skitto493
Skitto493's Avatar
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
07/11/2014 12:11 am
Level 1 : New Crafter
RiptideNC
RiptideNC's Avatar
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
07/10/2014 10:29 pm
Level 22 : Expert Taco
FLAMESS123
FLAMESS123's Avatar
Im on forge
1
07/10/2014 10:21 pm
Level 22 : Expert Taco
FLAMESS123
FLAMESS123's Avatar
oh forge sorry i forgot to mention that
1
07/10/2014 10:12 pm
Level 1 : New Crafter
RiptideNC
RiptideNC's Avatar
Forge or Modloader?
Planet Minecraft

Website

© 2010 - 2024
www.planetminecraft.com

Welcome