CS2For Information on Directional Textures in Custom Stuff 2, see textureFile.

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.

There are five attributes that govern adding textures to specific sides of a block. These work in exactly the same way that the textureindex attribute does, with the number corresponding to a specific tile in the texturefile.

The difference is that while textureindex is an attribute that covers all sides, the five attributes listed below only govern one single side each. This means that if all five of these attributes are used, textureindex defines the texture on the bottom of the block as the bottom is the only face not specifically defined.

The five attributes are:

  • textureindextop
  • textureindexeast
  • textureindexwest
  • textureindexnorth
  • textureindexsouth

To set these attributes, add the following lines to the .block file, changing the numbers to the textureindex number you want for that face.


These attributes override textureindex in regards to the selected face. As such, you do not need to define all five attributes in a given .block file; only the ones you want to differ from textureindex. For example, if you want a block to look the same on every side except the top you can add only the textureindextop attribute to the file, and let textureindex define the other five sides.

It's important to note that each of these attributes always faces a specific way. You can't put them down at a different angle to change the orientation of the textures. This is how a crafting bench works: the saw and hammer will always be facing the same direction regardless of how you place it. Contrast this with a pumpkin which can face any direction given the proper placement.

See also

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.