Minecraft Mod Custom Stuff Wiki


175pages on
this wiki
Add New Page
Comment1 Share
This Article is up to date with Custom Stuff 2 CS2
With new advancements in technology, you can now completely flatten a block and use it as carpet or as wallpaper. With Custom Stuff 2, you can now add your own flat blocks to Minecraft. Enjoy having a gold plated house without needing to use hundreds of cubic meters of gold. Hide in your cobblestone house, safe from ghasts, but still blend in using netherrack panels. Even make floral wallpaper for interior decoration. Custom Stuff 2 presents you with, the flat block type. Avaliable in all versions starting with 0.9.12 of Custom Stuff 2.

Flat Block Example (CS2)


Cobalt Panels. The cheaper way to have a cobalt house.


config.addBlockIdProperty("cobaltPanelID", 2304);
mod.addBlock("cobaltPanel.js", "flat");


id = config.getBlockId("cobaltPanelID");
name = "cobaltPanel";
material = "iron";
stepSound = "metal";
creativeTab = "buildingBlocks";
canFaceTop = true;
canFaceBottom = true;

displayName[0] = "Cobalt Panel";
hardness[0] = 5;
resistance[0] = 30;
toolClass[0] = "pickaxe";
harvestLevel[0] = 2;
textureFileBack[0] = "cobaltBlock.png";
textureFileFront[0] = "cobaltBlock.png";
textureFileSides[0] = "cobaltBlock.png";
addToCreative[0] = true;

Required Attributes

Optional Attributes

textureFile and textureIndex
In CS2 versions for 1.4.7 and below, CS2 0.9.9 or below, textureFile was used to specify the texture sheet and textureIndex was used for identifying the specific icon within the texture sheet. If using CS2 0.9.9 or lower, make sure to use both of these attributes.

canFaceBottom and canFaceTop These do exactly as they say, they allow the block to face up or down if they are set to true. Unfortunately, the flat block type has both of these set to false by default. Just remember to set these to true if you want these to place your flat block on the top or bottom of a different block.

canFaceSides This is set to true by default. If you want to make sure blocks can only be placed on the floor (like carpet) or on the ceiling, you will need to set canFaceSides to false. Don't forget to set either canFaceBottom or canFaceTop to true so the block can be placed.

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.