Ever wanted to use more blocks in your buildings? but didn't want to sacrifice minecraft's vanilla blocks? then this mod is for you, this mod allows you to add in as many as you want from blocks and items!
// Tutorial/ More details:
DIY [Do it Yourself] is a mod which lets you add in completely new blocks and items into minecraft with a hassle free way, if you're interested, then keep on reading
in order to add in the new blocks/items, you must install the mod first, then launch minecraft once and close it, then go to config folder in /.minecraft and open up DIY.cfg, is should look like this:
# Configuration file
blocks { # The unlocalized names of DIY blocks to be registered. S:blocks.unlocalizedNames < example_block > }
items { # The unlocalized names of DIY items to be registered. S:items.unlocalizedNames < example_item > }
Where it says example_block and example_item is where you'll be adding in the new blocks/items, let's now add in a new block
called stoneblock_example in order to do that, we just have to make a new line under the example_block adding in the name of
the new block.
it should be something like this (we'll also add a new item called, Amazing sword, the same goes for it, adding a new line under
example_item)
# Configuration file
blocks { # The unlocalized names of DIY blocks to be registered. S:blocks.unlocalizedNames < example_block stoneblock_example > }
items { # The unlocalized names of DIY items to be registered. S:items.unlocalizedNames < example_item amazing_sword > }
Now, we got that, basically each time you add in a new line, the game will register that block/item at the runtime of the game.
Step 2:
Now we got the items registered (no need to launch the game to add the texture, you can add them now) let's add in the
textures now, The textures are added within the JAR file (the mod JAR file) that is in /.minecraft/mods, first, you need to
understand that in 1.8+, a registered block has 3 JSON files, blockstate, block item and the actual block, in order to fully register
the block in-game, you must create all 3 JSON files, I won't be covering that part, you'll have to look it up online.
But if you are too lazy to create your own, then use the example_block json files, here's how:
Open up the JAR file, go to assets/DIY and then you'll see something like this:
Here you will be adding the textures and the JSON files of the blocks/items
we added the block first, we'll finish it first, open up blockstates
Here you will be adding in the blockstate JSON of the block, but incase you don't know how to do it, it's really simple, first,
extract that example_block and open it with a text editor, then you'll see this:
What you'll do is simply change the example_block in the file, make sure it matches exactly (case sensitivity) the name of the
block in the DIY.cfg, in this case, it's stoneblock_example
Don't delete the DIY:example_block (the DIY in it).
Since we are using stoneblock_example as an example, it should look like this after the change:
After that, close the file and rename the JSON file from example_block.json to what the name of the block, in this case,
stoneblock_example.json
Then re add the JSON to the blockstates file and it should be something like this:
After that, go to the models folder:
then to item
It should be like this:
Here you will be adding in the item JSON for the block, but again, here's how to do it for dummies:
extract the example_block.json and edit it via a text editor, it should be like this:
{ "parent": "DIY:block/example_block" }
Just rename the example_block to the name of the block, in this case stoneblock_example.json
after that, it should be like this:
{ "parent": "DIY:block/stoneblock_example" }
Don't forget to rename the JSON file to the same name as the block, in this case stoneblock_example.json Then save it and re-
add it into the item folder, it should look like this after you add it:
Now, you must add the actual block model, go to block folder in models folder, it should be like this:
Now, this part is whether you want a normal plain block (simple cube) or a 3D modeled one, if you want a simple cube, then
extract the example_block.json and edit it with a text editor, it should be like this:
Save it and re-add it to the jar file, And don't forget to rename the JSON file to the name of the block as well, in this case,
stoneblock_example
It should be like this: (after renaming it and adding it)
That's pretty much it for the JSON part, now to the texturing.
Now go back and open up textures folder
open up blocks and it should look like this:
Add in your texture Make sure that it has the same name as the one in the json file earlier
in this case stoneblock_example.png
It should then look like this:
And that's it for the blocks, now you have completely added the new block Stoneblock_example to the game, It might seem like
a long task, but it's rather easy and once you take the hang of it, it'll be a piece of cake!
=== Items ===
Items are rather simpler to add, as they have only 1 JSON file and the texture.
Here's how to to fix the item after registering it via the config file:
Since we got the item's name in the config to be amazing_sword we'll be using that for this example:
first, open the jar file and go to assets/DIY
it should be like this:
Open up models folder then go to item
It should be like this: (we have the stoneblock_example from the previous tutorial):
Extract example_item and edit it with a text editor, it should look like this once you open it:
now save it and put it back in the jar file and don't forget to rename the json file to the same name of the item in the config
It should look like this after you put it back:
The texturing is the as blocks, but instead of the textures going to /textures/blocks it goes to /textures/items
And that's it for the items, we finished adding in amazing_sword to the game!
one thing to mention is that items are preferable to come with a custom json model, because the way you'll be handling the
item can't be defined without the json
That's it, now, load up minecraft, and go to the creative tab and check your brand new items
// Download:
The mod uses Forge mod loader for Minecraft 1.10.2 please download and install that in order to install this mod.
Update History:
- DIY: 1.0.1: *Bug fix (3D json models should now work fine)
- DIY 1.0.0: First version
// Screenshots:
Basically only one screenshot demonstrating an item and a block added via the mod, as there is nothing to take screenshot of!
// Videos:
Coming soon!
Any showcase, tutorial is appreciated
// ModPack:
Read the License below
// License:
This mod falls under creative commons attribution non-commercial 4.0 international, it can be redistributed if it is done non-commercially (no adfly, no paywall, no redistributing it just for money) and if proper clear credit is given. https://creativecommons.org/licenses/by-nc/4.0/
You are free to:
Share — copy and redistribute the material in any medium or format
Adapt — remix, transform, and build upon the material
The licensor cannot revoke these freedoms as long as you follow the license terms.
Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, andindicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
No additional restrictions — You may not apply legal terms or technological measures that legally restrict others from doing anything the license permits.
Huh, this looks good for quick blocks/items (Custom NPCs quests?). Hope people don't start just spamming mods of this like with Lucky Blocks...
It's mostly effective for builders who require more blocks to build with, with this mod, you can make your own building blocks, it's also effective for adventure maps due to the fact, you can add in as many blocks/items as you'd like! and with a resourcepack, you can even make blocks/items 3D which is rather pretty good.
As for Lucky blocks, I don't think it will actually be anything as you cannot add in special features for some blocks with this mod, I think you can if you used an external mod, but you can't with this one.
DIY [Do it Yourself] is a mod which lets you add in completely new blocks and items into minecraft with a hassle free way, if you're interested, then keep on reading
in order to add in the new blocks/items, you must install the mod first, then launch minecraft once and close it, then go to config folder in /.minecraft and open up DIY.cfg, is should look like this:
# Configuration file
blocks {
# The unlocalized names of DIY blocks to be registered.
S:blocks.unlocalizedNames <
example_block
>
}
items {
# The unlocalized names of DIY items to be registered.
S:items.unlocalizedNames <
example_item
>
}
Where it says example_block and example_item is where you'll be adding in the new blocks/items, let's now add in a new block
called stoneblock_example in order to do that, we just have to make a new line under the example_block adding in the name of
the new block.
it should be something like this (we'll also add a new item called, Amazing sword, the same goes for it, adding a new line under
example_item)
# Configuration file
blocks {
# The unlocalized names of DIY blocks to be registered.
S:blocks.unlocalizedNames <
example_block
stoneblock_example
>
}
items {
# The unlocalized names of DIY items to be registered.
S:items.unlocalizedNames <
example_item
amazing_sword
>
}
Now, we got that, basically each time you add in a new line, the game will register that block/item at the runtime of the game.
Step 2:
Now we got the items registered (no need to launch the game to add the texture, you can add them now) let's add in the
textures now, The textures are added within the JAR file (the mod JAR file) that is in /.minecraft/mods, first, you need to
understand that in 1.8+, a registered block has 3 JSON files, blockstate, block item and the actual block, in order to fully register
the block in-game, you must create all 3 JSON files, I won't be covering that part, you'll have to look it up online.
But if you are too lazy to create your own, then use the example_block json files, here's how:
Open up the JAR file, go to assets/DIY and then you'll see something like this:
Here you will be adding the textures and the JSON files of the blocks/items
we added the block first, we'll finish it first, open up blockstates
Here you will be adding in the blockstate JSON of the block, but incase you don't know how to do it, it's really simple, first,
extract that example_block and open it with a text editor, then you'll see this:
{
"variants": {
"normal": { "model": "DIY:example_block" }
}
}
What you'll do is simply change the example_block in the file, make sure it matches exactly (case sensitivity) the name of the
block in the DIY.cfg, in this case, it's stoneblock_example
Don't delete the DIY:example_block (the DIY in it).
Since we are using stoneblock_example as an example, it should look like this after the change:
{
"variants": {
"normal": { "model": "DIY:stoneblock_example" }
}
}
After that, close the file and rename the JSON file from example_block.json to what the name of the block, in this case,
stoneblock_example.json
Then re add the JSON to the blockstates file and it should be something like this:
After that, go to the models folder:
then to item
It should be like this:
Here you will be adding in the item JSON for the block, but again, here's how to do it for dummies:
extract the example_block.json and edit it via a text editor, it should be like this:
{
"parent": "DIY:block/example_block"
}
Just rename the example_block to the name of the block, in this case stoneblock_example.json
after that, it should be like this:
{
"parent": "DIY:block/stoneblock_example"
}
Don't forget to rename the JSON file to the same name as the block, in this case stoneblock_example.json Then save it and re-
add it into the item folder, it should look like this after you add it:
Now, you must add the actual block model, go to block folder in models folder, it should be like this:
Now, this part is whether you want a normal plain block (simple cube) or a 3D modeled one, if you want a simple cube, then
extract the example_block.json and edit it with a text editor, it should be like this:
{
"parent": "block/cube_all",
"textures": {
"all": "DIY:blocks/example_block"
}
}
change the example_block to the name of the texture file, in this case stoneblock_example
It should be like this:
{
"parent": "block/cube_all",
"textures": {
"all": "DIY:blocks/stoneblock_example"
}
}
Save it and re-add it to the jar file, And don't forget to rename the JSON file to the name of the block as well, in this case,
stoneblock_example
It should be like this: (after renaming it and adding it)
That's pretty much it for the JSON part, now to the texturing.
Now go back and open up textures folder
open up blocks and it should look like this:
Add in your texture Make sure that it has the same name as the one in the json file earlier
in this case stoneblock_example.png
It should then look like this:
And that's it for the blocks, now you have completely added the new block Stoneblock_example to the game, It might seem like
a long task, but it's rather easy and once you take the hang of it, it'll be a piece of cake!
=== Items ===
Items are rather simpler to add, as they have only 1 JSON file and the texture.
Here's how to to fix the item after registering it via the config file:
Since we got the item's name in the config to be amazing_sword we'll be using that for this example:
first, open the jar file and go to assets/DIY
it should be like this:
Open up models folder then go to item
It should be like this: (we have the stoneblock_example from the previous tutorial):
Extract example_item and edit it with a text editor, it should look like this once you open it:
{
"parent": "item/generated",
"textures": {
"layer0": "DIY:items/example_item"
}
}
Simply rename the example_item to the name of the item you registered in the config, in this case amazing_sword
It should be like this after renaming:
{
"parent": "item/generated",
"textures": {
"layer0": "DIY:items/amazing_sword"
}
}
now save it and put it back in the jar file and don't forget to rename the json file to the same name of the item in the config
It should look like this after you put it back:
The texturing is the as blocks, but instead of the textures going to /textures/blocks it goes to /textures/items
And that's it for the items, we finished adding in amazing_sword to the game!
one thing to mention is that items are preferable to come with a custom json model, because the way you'll be handling the
item can't be defined without the json
That's it, now, load up minecraft, and go to the creative tab and check your brand new items
// Download:
The mod uses Forge mod loader for Minecraft 1.10.2 please download and install that in order to install this mod.
Download:
Minecraft 1.10.2: http://www.mediafire.com/download/robmdp19diaeq11/DIY-1.10.2-1.0.1.zip
Update History:
- DIY: 1.0.1: *Bug fix (3D json models should now work fine)
- DIY 1.0.0: First version
// Screenshots:
Basically only one screenshot demonstrating an item and a block added via the mod, as there is nothing to take screenshot of!
// Videos:
Coming soon!
Any showcase, tutorial is appreciated
// ModPack:
Read the License below
// License:
This mod falls under creative commons attribution non-commercial 4.0 international, it can be redistributed if it is done non-commercially (no adfly, no paywall, no redistributing it just for money) and if proper clear credit is given.
https://creativecommons.org/licenses/by-nc/4.0/
You are free to:
Under the following terms:
Attribution — You must give appropriate credit, provide a link to the license, andindicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
NonCommercial — You may not use the material for commercial purposes.
I'm just a very boring person.
Update: Fixed the tutorial Lay out, should be more readable now
I'm just a very boring person.
Fixed the download, was not working for some reason. now it's all up and working
I'm just a very boring person.
Huh, this looks good for quick blocks/items (Custom NPCs quests?). Hope people don't start just spamming mods of this like with Lucky Blocks...
It's mostly effective for builders who require more blocks to build with, with this mod, you can make your own building blocks, it's also effective for adventure maps due to the fact, you can add in as many blocks/items as you'd like! and with a resourcepack, you can even make blocks/items 3D which is rather pretty good.
As for Lucky blocks, I don't think it will actually be anything as you cannot add in special features for some blocks with this mod, I think you can if you used an external mod, but you can't with this one.
I'm just a very boring person.
Yeah but I still can imagine someone going "X's pack of bricks!".
Also, now that I think, does it support animated textures?
It supports anything a resourcepack does. meaning, Yes, it does support animated textures.
I'm just a very boring person.
Neat, then! This removes the need for McCreator when all you want is lava-in-glass
Very useful! Is there a way to be supported by chisel & bits cubes ?
ㅇㅅㅇ
I haven't thought of that yet, I'll see what I can do. (I didn't yet try it with C&B, did you try it?)
I'm just a very boring person.
Yes, it didn't work with C&B chisel.
ㅇㅅㅇ
Thanks for informing me, I'll try to get it working with C&B in future versions
I'm just a very boring person.