Do It Yourself Decorative Blocks Mod 1.7.10

Do It Yourself Decorative Blocks Mod for Minecraft 1.7.10

Updated: Aug 25, 2015 | 276 views |

Do-it-yourself-decorative-blocks-mod.png

Do It Yourself Decorative Blocks Mod allows players to create basic blocks without any programing knowledge. It’s designed for adventure map makers who dislike relying on Minecraft blocks with custom texture packs but still want to provide more diverse visual environments.
It’s called Do It Yourself Decorative Blocks (DDB for short), and it implies two things : first, you are the ones creating the blocks, simply by providing textures. Second, the aim is purely decorative, no advanced machinery that gets the mail and makes coffee, just pretty blocks.

JSON file :

Even though no coding skill is involved, DDB packs do require a JSON file to determine what kind of block the textures need to be used for.
JSON is an easy to use data format that obeys a few simple rules :
Objects are defined by braces { } and contains a list of Fields.
Fields are defined by their names inside quotes followed by a colon and then the value. The value needs to be in quotes too unless it’s a number, a boolean (true or false) or a new Object (new set of braces, with fields inside).
Multiple Fields inside an Object are separated by a comma. One must be careful not to leave a comma after the last Field of anObject.

A JSON file is always represented by a single Object, so make sure the file starts and ends with braces.
Here is an example of a JSON file :
{
?field1? : ?value?,
?booleanField? : true,
?objectField? :
{
?field? : 3
}
}
If you want to verify the JSON validity, you can use online validators like http://jsonlint.com/

DDB pack JSON :

For DDB, the main JSON object contains a list of blocks where the Fields names define the block names, and the values areObjects defining all the properties for the block. If a field has a default value, then it can be omitted. Here are the properties available :
type : Determines what kind of block it will be. See below for a list of available types. Default : standard.
hardness : time necessary for the block to be mined (for example, stone is 1.5, dirt is 0.5, planks it 2.0 and glass is 0.3). Default : 2.0
material : determines general properties as well as the effective tool for the block. See below for list of available materials. Default : wood.
soundType : determines the sound when walking on the block. See below for list of available sound types. Default : wood.
opaque : determines whether the block is opaque or not. Default : false
textureName : determines the name of the file in the pack. Must not contains file extension. Will default to block’s name if omitted.
textures : determines what texture to use for each side. It’s an Object where the Fields are : top, bottom, sides, front and the values are the file name without extension. Default to textureName. Note that setting ?front? field will make the type of the block to be directional.
useColorMultiplier : only used for
numBlocks : only used for

Available options for type :

standard : defines a standard block. Nothing special about it, just a plain cube.

directional : defines a block with a front face. To be used when you need a front face with a specific texture. Automatically inferred when using front Field for textures.

colored : defines a block for the 16 colours available in Minecraft. Colours are : black, red, green, brown, blue, purple, cyan, silver, grey, pink, lime, yellow, light_blue, magenta, orange, white. You need to create texture files for each colour with name{texture_name}_{color}. So for example : myawesomeblock_green.png. If the field useColorMultiplier is set to true, only one texture is needed and the colours will be applied to the texture automatically.

stairs : defines a block that will be shaped as stairs. Note : Minecraft stairs won’t connect to them.

slab : defines a slab block. Half height blocks, that can be placed twice to make a full block, like regular slabs.

connected : defines the block as using connected textures. For this type, two different textures are expected with a certain pattern.
They should look like this : 

Note : due to a bug in Minecraft, connected texture don’t work well in 1.7.2.

megaTexture : defines a texture that will be stretched over several blocks.

Available options for material : 
air, grass, ground, wood, rock, iron, anvil, water, lava, leaves, plants, vine, sponge, cloth, fire, sand, circuits, carpet, glass, redstoneLight, tnt, coral, ice, packedIce, snow, craftedSnow, cactus, clay, gourd ,dragonEgg, portal, cake, web

Available options for soundType : 
stone, wood, gravel, grass, piston, metal, glass, cloth, sand, snow, ladder, anvil

File structure :

The mod looks for the folder named ddbpacks/ inside your Minecraft directory (same place where you have your resourcepacks/folder), and reads all the packs inside it. And like for resourcepacks/, DDB packs can be either folders or zip files.
Inside the ddbpacks/ folder, create a new folder with the name of the pack and place inside the textures and the JSON file. The JSON imperatively needs to have the same name as the folder. So if you want to name your pack ?myawesomepack?, then your file path will be {minecraft folder}/ddbpacks/myawesomepack/myawesomepack.json.

Localizations :

Of course, localizations are supported, because you don’t really want your block to display ?tile.myawesomepack_myawesomeblock.name? in the inventory.
To localize your blocks, you need to make a new folder named lang/ inside your pack and place the lang files in it (en_US.lang for english for example).
The structure of the lang files are as follow : tile.{packName}_{blockName}.name={translation} (eg.: tile.myawesomepack_myawesomeblock.name=My awesome block!)

Modpacks
No restriction concerning modpacks. Feel free to use this mod in your modpacks!.

Download Do It Yourself Decorative Blocks Mod 1.7.10

For 1.7.10

http://dl.mod-minecraft.net/download.php?file=23928d7b4faec8ab16209b7742876efc

malisiscore

http://dl.mod-minecraft.net/download.php?file=ed1bcb76311e385878bf9095f8788ea2

Author: Ordinastie