Sword Damage to much

Started by Trason on Fri, 10/20/2017 - 21:59

Topic category: Advanced modding

Last seen on 22:34, 25. Nov 2017
Joined Oct 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Sword Damage to much
Fri, 10/20/2017 - 21:59

Now is my problem i want create a sword with 0,2 attack damage but mcreater adds all time +4 damage and i cant write in the code 0.5 or something...

 

How can i set the Damage on this sword to 0,5 ingame ?

 

Last seen on 22:34, 25. Nov 2017
Joined Oct 2017
User points:

Statistics:

  • Comments:
  • Forum topics:
  • Modifications:
  • Wiki pages:
Oke i Found a Way Ingame with
Fri, 10/20/2017 - 22:49

Oke i Found a Way Ingame with a Comman Block

/give @p 424 1 0 {
    display: {
        Name: "Silika",
        Lore: [
            "Schwert Klasse D",
            "Leicht zu tragen nicht sehr Schwer"
        ]
    },
    AttributeModifiers: [
        {
            AttributeName: "generic.attackDamage",
            Name: "generic.attackDamage",
            Amount: 0.5,
            Operation: 0,
            UUIDMost: 16847,
            UUIDLeast: 76945
        }
    ],
    ench: [
     
    ],
    HideFlags: 4,
    Unbreakable: 1
}