Fandom

Minecraft Mod Custom Stuff Wiki

Material

175pages on
this wiki
Add New Page
Comments0 Share
CS1 Custom Stuff 1

Information presented below this line is outdated syntax or information used for Custom Stuff 1. It will not work with Custom Stuff 2.

The material is, simply stated, what the block is made of. Blocks can be made of any of eight different types of materials. Each material has its own attributes, and interacts with other blocks and the player's actions differently from the other types. A block's material affects many things including which tools can harvest it and mine it efficiently.

It's important to note that this attribute governs only game mechanics. It doesn't change the way the block looks or how it sounds when it's broken. Those elements are covered by other attributes. This makes material a somewhat counter-intuitive attribute. To mention an example from the vanilla Minecraft game, TNT has the material "glass". While seemingly inappropriate, this was done to prevent torches and pressure plates from being placed on it.

To set the material of a block, add the following line to the .block file.

material="rock";

The valid strings for the attribute are: 'grass', 'ground', 'wood', 'rock', 'iron', 'cloth', 'sand', 'glass', 'water' and 'lava'.

Material Attributes

As stated, each material has unique attributes. Below is a listing of each type of material.

Cloth

Glass

  • Unarmed Break Time = ~Hardness * 1.6
  • Torches cannot be placed on the block.
  • Pressure Plates and cart tracks cannot be placed on the block.
  • Does not transmit Redstone signal.

Grass

Ground

Iron

  • Unarmed Break Time = Hardness * 5
  • Cannot be harvested by hand.

Rock

  • Unarmed Break Time = ~Hardness * 5
  • Cannot be harvested by hand.

Sand

Wood

Liquid Material Attributes

The last two types of material can only be set if the block type is set to liquid. Likewise, the other materials listed above won't work for liquids.

Water

  • Liquid flows seven blocks from the source.

Lava

  • Liquid flows three blocks from the source in the normal world.
  • Liquid flows seven blocks from the source in the Nether.
  • Entities are set on fire when touching the liquid.

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.