FANDOM


This Article is up to date with Custom Stuff 2 CS2

This attribute defines how many half-hearts of damage is inflicted to any kind of entity (monsters, creatures, players) when hitting them with the item.

By default, items always deal 1 damage (½ heart). To change this, add the following line to your item's .js file:

damage = 2;

Because this is in half-hearts of damage, an item with the above line will deal 1 full heart of damage. You may change that value to any positive integer number.

Values in Minecraft:

Here are some examples of values in the vanilla Minecraft game. For a ful llist of items that deal damage, and how much damage they deal, see Damage - Minecraft Wiki.

  • wooden sword: 4
  • diamond sword: 7
  • diamond pickaxe: 5
  • all normal items: 1

Ad blocker interference detected!


Wikia is a free-to-use site that makes money from advertising. We have a modified experience for viewers using ad blockers

Wikia is not accessible if you’ve made further modifications. Remove the custom ad blocker rule(s) and the page will load as expected.