Fandom

Minecraft Mod Custom Stuff Wiki

Armor Immunities

175pages on
this wiki
Add New Page
Comments0 Share
This Article is up to date with Custom Stuff 2 CS2

When creating armor-type items with Custom Stuff, there are three unique attributes that can be assigned to the item. These three attributes give the wearer of the piece of armor specific immunities to one of three types of damage. These attributes are:

  • waterProof - Air guage never decreases while the wearer is submerged in water.
  • fireProof - The wearer of the armor is immune to the effects of fire and lava.
  • fallProof - Falling from any height will not damage the bearer of the armor.

Adding one of these three attributes is simple. Just add one or more of the following lines to your armor item file:

waterProof = true;
fireProof = true;
fallProof = true;

Example Item(CS2)

Here is an example of a helmet that is as strong as diamond and additionally allows the wearer to breathe underwater indefinitely.

id = config.getItemId("aquaHelmID");
name = "aquaHelm";

displayName = "Aqua Helmet";

armorType = "helmet";
maxDamage = 364;
damageReduction = 3;
enchantability = 10;
repairable = true;

addToCreative = true;
creativeTab = "combat";

armorTexture = "aquaHelm.png";
textureFile = "customstuff.png";
textureIndex = 2;
waterProof = true;

CS1
Older Examples and Information for Custom Stuff 1.

When creating armor-type items with Custom Stuff, there are three unique attributes that can be assigned to the item. These three attributes give the wearer of the piece of armor specific immunities to one of three types of damage. These attributes are:

  • infiniteair - Air guage never decreases while the wearer is submerged in water.
  • noburning - The wearer of the armor is immune to the effects of fire and lava.
  • nofalldamage - Falling from any height will not damage the bearer of the armor.

Adding one of these three attributes is simple. Just add one or more of the following lines to your armor item file:

infiniteair="true";

nofalldamage="true";

noburning="true";

Example Item

Here's an example of a helmet that is as strong as diamond and additionally allows the wearer to breathe under water indefinitely.

name="aqua helmet";
id=2500;
type="helmet";
iconfile="customstuff.png";
iconindex=2;
armorname="aqua";
armormaterial="diamond";
infiniteair="true";

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.