This will add a stone block, since all side's are the block ID 1, which is stone,
Also, containing the light level of 15, the block shape as a flower pot,
and the block's blast resistance is 5.
False describes a custom block or not, which I will describe later.
1 shows the ID of stone, like I mentioned above. The sides go like this :
The North side of the block is the first number for the ID, so if I were to do 1 for the first one the North side of the block will be stone. The second is East, the third is South, and the 4th is West.
The fifth is the top of the block, and the sixth is the bottom.
If you have to put log, and want a spruce one, put '[1,2]' to show the variable of the block. Like changing stone to diorite.
Do '{minecraft:dispenser,Side:Top}' if you want to select the top of a dispenser to display on that side.
You can put the amounts of sides however you like, such as
/addblock false 1 1 1 '{Format:Log}' To describe the textures to be placed in the format of a log
Values can be set in the squiggly bracket '{}'
'Lighting', which is the light level
'Blast resistance', which is the blast resistance.
'FallingBlock' true or false, if the block falls like sand or anvils
'Flammable' if the block can be lit on fire, and burn away like wood or wool
'Shape' to determine the shape of the block. Insert either the block like 'hardened_clay' or you can do 'minecraft:hardened_clay'
'Hardness' to describe how hard the block is. Insert colon ':' and insert the block name (minecraft:stone etc) of the time it takes to break it.
'Tool' to describe which type of tool is needed to destroy the block
'WalkSpeed' to determine how fast or slow it is to walk on the block. like above, insert a block already in minecraft to show the speed (soulsand, ice etc)
'CustomName' to describe what the block's name is
'Lore' to describe the lore of this block
Insert 'Redstone' to show if this can be activate by redstone. (redstone:false ex.)
'Explosive' if this block is explosive, instead of true or false insert the ticks until the block explodes.
'Menu' then which menu you want. Not like dropper's or chests, menu's like furnaces and brewing stands which are special menus, not containers. This is NOT compatible with 'Storage' though.
'Storage' to show if this block is interactable, like a chest. Imput the amount of slots you want.
Put 'Absorb' true or false if you want the block to absorb water.
'{Signal:WalkedOn,Interacted}' to show if this is pressed like a button or walked on to send a redstone signal.
'Opaque' false or true to show if this block is transparent or opaque.
'Transform' to describe if this block changes to a block (only minecraft, not a custom block) if right clicked with a specific tool, for example (Yes double Squiggly Brackets, so inside of the syntax you will need to enclose it):
{{Transform:minecraft:dirt,shovel}}
This shows if right clicked with a shovel, the block will turn to a dirt block.
'Drops' To show what this block drops upon breaking. Put 'Itself' to drop the custom block when it is dropped.
'MinTime' To show which time this block sets a redstone signal (note: you will have to put redstone:true to use this) and put the time it activates (ex. 0 at the beginning of a day)
And the thing about all of this, you will not be prompted to put this in the chat. To do this :
World files should contain a folder, so joining that specific would it activates it
'.additem'
I will describe why it says item, because there are TWO folders in that one.
1 is blocks
2 is tools
I will talk about custom tools later.
In blocks, create a new 'notepad' text file. Input ALL the information just like doing a command, using the syntax like above.
Next, like custom crafting and loot tables, bam it adds it to be available to use.
And just like those, it is located in the world file, inside the saves file, inside .minecraft
Now, it should be in a new menu inside the creative menu. This menu should be the 'Custom Items' menu which contains everything inside that folder.
Now onto custom blocks
For custom blocks, create a 16 x 16 picture of the block you want to add.
Put the picture in the 'blocks' folder in the .additem
Name the picture the block you would like to /give yourself, (cannot be a block name that already exists) and then /give (the custom block's name) @p / (your player name)
Custom Tools, however are just like resource packs.
Though, this is specified like a said for the world, requiring no resource pack to use.
Also, this only supports tools / weapons (fishing rod, shears, pickaxe, axe, sword, hoe, shovel, and flint and steel).
Like the custom block, (actual custom one, the 16x16 one) create a 16x16 picture of your tool,
Put it in 'tools' in the '.additem' folder,
Name it something that doesn't already exist, and /give it to yourself.
You can add regular following variables like /giving yourself a diamond sword with sharpness 10000.
---
Pros : Create your own custom blocks and tools
Cons : Possbly major lag to generate the block in, like /giving player heads, except this is located in the world file so it should already be added to the menu.
The blocks / item's can't be specified with too much things, too
Also since the custom blocks and item's need to be /gived it may cause major lag
---
I know this isn't possible, I just wanted to share my mind.
Thank you to :
C1ff for most of the suggestions for the blocks,
fishg for telling me to change the title
and cavinator1 for asking the important question of how to generate the block in certain directions, like North South etc
Somewhat of an interesting idea, but yes, I do agree that it would never happen. If you do want to add custom blocks to a map, just retexture or remodel an existing one that you never use (e.g. if you never use sponges in your map retexture or remodel the sponge).
this goes in an order like this : Side 1 is the front, side 2 is the right, side 3 is the back, side 4 is the left, side 5 is the top, and side 6 is the bottom.
But I am curious, which side is the front? North? South? East? Or West?
First, having to download images from the internet sounds incredibly annoying to do upon every startup. Minecraft already does this with skins, and if you've ever tried to spawn in the head of a player you know, you'll know that the game will freeze for a while before finally resuming. For me, this freeze can last for up to 15 seconds, which is an incredibly long time to wait. (Plus, if you're disconnected from the internet or you can't )
If I want to load custom textures, I would suggest using a resource or data pack.
(Also, don't use "yes" and "no" in a command, rather, use "true" and "false".)
And speaking of data packs, I think I would much rather add in blocks using a data pack than a command. With the addition of custom crafting recipes, adding custom blocks, items or entities to data packs makes them almost as powerful as the most basic Forge mod. (Y'know, things like "Emerald Tools")
This suggestion misses quite a few things I'd like from custom blocks:
1. First, the only block I can create is the generic 6 sided cube. Using this command, I can't create slabs, stairs, plants, or block shapes that Minecraft doesn't have by default like chairs and tables.
2. I can only pick textures from online or that already exist in the game, as I already said.
3. I can't customize the hardness of the block or which tool is used to mine it. Heck, you haven't even specified what tool will be used to mine every single custom block.
4. I can't customize whether or not this block has directional data, either like a chests and furnaces (4 directions), like logs (3 directions), or like dispensers (6 directions).
5. I can't customize what data values states this block has. This will become less of an issue with 1.13, seeing as I won't have a block limit to work with and I won't be cramming things like Granite and Diorite in the same block id, but this will become an issue with problem number 7.
6. Speaking of block ids, this suggestion does not give any way to control what the actual id is. All blocks have an id, like minecraft:stone, but I can't set what that id is with this command. In fact, I can't actually set what the block is named in the inventory for that matter.
7. I can't control what the block does when it recieves a redstone signal. What if I want to make a light that's dimmer than a redstone lamp that can be turned on and off with redstone?
8. Oh, and speaking of light, you can't set that either.
9. In fact, there are a lot of minor, but important variables that this doesn't count for, such as opacity, whether or not it can fall, explosion resistance, whether or not it is slippery, whether or not it reduces the damage a player takes and how much, or whether or not it can be burned by fire.
10. I can't control what this block does if it's left or right-clicked by a player, if a mob steps on it (Like a pressure plate), if it's being pointed at, or if it's been right clicked with a special tool (Dirt -> Path Block or Farmland.)
11. Speaking of right-clicking, I can't control whether or not this block has an inventory or GUI of any kind.
12. I can't set this block to do anything on a certain time schedule or per-tick. So "machines" like furnaces or brewing stations are simply impossible to create, and so is anything else that preforms actions based on the time.
13. I can't set this block to preform actions upon it's placement or destruction, such as the sponge, which sucks up water when placed.
14. I can't set whether or not this block's item form is available in the creative inventory.
15. I can't set this block's drops. (Like how stone normally drops cobblestone.)
I'm sure there are things in this list I've forgotten. There's no way you can stuff this all in a command. (Especially stuff that needs to be a function, such as the time-schedule, construct/destruct, player and entity interaction and redstone control.)
I'm not actually sure that even a data pack will work for this purpose. Block Information is usually loaded at the start of the game, when the Mojang logo pops up and before the main menu appears. We may need a whole new kind of "pack" for this specific change that affects all worlds in a folder. (Though 1.13 is revamping a lot of stuff relevant to blocks, and maybe this is on Mojang's TODO list.)
No Support in it's current form.
Rollback Post to RevisionRollBack
My avatar is a texture from a small block game I made in Python. It's not very good and it probably won't work if you install it.
I'm very alone in my Minecraft worlds as I don't have a very good internet connection to run a server. If you're like me, you might be interested in my Posse mod suggestion.
Somewhat of an interesting idea, but yes, I do agree that it would never happen. If you do want to add custom blocks to a map, just retexture or remodel an existing one that you never use (e.g. if you never use sponges in your map retexture or remodel the sponge).
But I am curious, which side is the front? North? South? East? Or West?
Yes the front is depending on which way the player is facing. The block should move it's direction like an observer of dispenser to face the front towards the player, interesting question though!
First, having to download images from the internet sounds incredibly annoying to do upon every startup. Minecraft already does this with skins, and if you've ever tried to spawn in the head of a player you know, you'll know that the game will freeze for a while before finally resuming. For me, this freeze can last for up to 15 seconds, which is an incredibly long time to wait. (Plus, if you're disconnected from the internet or you can't )
If I want to load custom textures, I would suggest using a resource or data pack.
(Also, don't use "yes" and "no" in a command, rather, use "true" and "false".)
And speaking of data packs, I think I would much rather add in blocks using a data pack than a command. With the addition of custom crafting recipes, adding custom blocks, items or entities to data packs makes them almost as powerful as the most basic Forge mod. (Y'know, things like "Emerald Tools")
This suggestion misses quite a few things I'd like from custom blocks:
1. First, the only block I can create is the generic 6 sided cube. Using this command, I can't create slabs, stairs, plants, or block shapes that Minecraft doesn't have by default like chairs and tables.
2. I can only pick textures from online or that already exist in the game, as I already said.
3. I can't customize the hardness of the block or which tool is used to mine it. Heck, you haven't even specified what tool will be used to mine every single custom block.
4. I can't customize whether or not this block has directional data, either like a chests and furnaces (4 directions), like logs (3 directions), or like dispensers (6 directions).
5. I can't customize what data values states this block has. This will become less of an issue with 1.13, seeing as I won't have a block limit to work with and I won't be cramming things like Granite and Diorite in the same block id, but this will become an issue with problem number 7.
6. Speaking of block ids, this suggestion does not give any way to control what the actual id is. All blocks have an id, like minecraft:stone, but I can't set what that id is with this command. In fact, I can't actually set what the block is named in the inventory for that matter.
7. I can't control what the block does when it recieves a redstone signal. What if I want to make a light that's dimmer than a redstone lamp that can be turned on and off with redstone?
8. Oh, and speaking of light, you can't set that either.
9. In fact, there are a lot of minor, but important variables that this doesn't count for, such as opacity, whether or not it can fall, explosion resistance, whether or not it is slippery, whether or not it reduces the damage a player takes and how much, or whether or not it can be burned by fire.
10. I can't control what this block does if it's left or right-clicked by a player, if a mob steps on it (Like a pressure plate), if it's being pointed at, or if it's been right clicked with a special tool (Dirt -> Path Block or Farmland.)
11. Speaking of right-clicking, I can't control whether or not this block has an inventory or GUI of any kind.
12. I can't set this block to do anything on a certain time schedule or per-tick. So "machines" like furnaces or brewing stations are simply impossible to create, and so is anything else that preforms actions based on the time.
13. I can't set this block to preform actions upon it's placement or destruction, such as the sponge, which sucks up water when placed.
14. I can't set whether or not this block's item form is available in the creative inventory.
15. I can't set this block's drops. (Like how stone normally drops cobblestone.)
I'm sure there are things in this list I've forgotten. There's no way you can stuff this all in a command. (Especially stuff that needs to be a function, such as the time-schedule, construct/destruct, player and entity interaction and redstone control.)
I'm not actually sure that even a data pack will work for this purpose. Block Information is usually loaded at the start of the game, when the Mojang logo pops up and before the main menu appears. We may need a whole new kind of "pack" for this specific change that affects all worlds in a folder. (Though 1.13 is revamping a lot of stuff relevant to blocks, and maybe this is on Mojang's TODO list.)
No Support in it's current form.
Okay I'm sorry that I haven't supplied this well enough. I was working on updated this thread, which I will do now. I decided, like custom crafting, that the files for the custom blocks will be held in .minecraft
Thank you though, I will change this up.
Custom blocks and items should have a separate folder in the namespace folder in a data pack. I think custom blocks and items should be supported in a data pack 100%.
Thanks for change in font color. Light blue on white makes it very easy to read.
As as for the suggestion, this would actually be very useful. I don't know if it's possible, but useful nonetheless.
PS: Change the tile to something more descriptive, like "custom block textures"
But I am curious, which side is the front? North? South? East? Or West?
PLEASE FIX THAT FONT. DO NOT LEAVE IT LIKE THIS.
First, having to download images from the internet sounds incredibly annoying to do upon every startup. Minecraft already does this with skins, and if you've ever tried to spawn in the head of a player you know, you'll know that the game will freeze for a while before finally resuming. For me, this freeze can last for up to 15 seconds, which is an incredibly long time to wait. (Plus, if you're disconnected from the internet or you can't )
If I want to load custom textures, I would suggest using a resource or data pack.
(Also, don't use "yes" and "no" in a command, rather, use "true" and "false".)
And speaking of data packs, I think I would much rather add in blocks using a data pack than a command. With the addition of custom crafting recipes, adding custom blocks, items or entities to data packs makes them almost as powerful as the most basic Forge mod. (Y'know, things like "Emerald Tools")
This suggestion misses quite a few things I'd like from custom blocks:
1. First, the only block I can create is the generic 6 sided cube. Using this command, I can't create slabs, stairs, plants, or block shapes that Minecraft doesn't have by default like chairs and tables.
2. I can only pick textures from online or that already exist in the game, as I already said.
3. I can't customize the hardness of the block or which tool is used to mine it. Heck, you haven't even specified what tool will be used to mine every single custom block.
4. I can't customize whether or not this block has directional data, either like a chests and furnaces (4 directions), like logs (3 directions), or like dispensers (6 directions).
5. I can't customize what
data valuesstates this block has. This will become less of an issue with 1.13, seeing as I won't have a block limit to work with and I won't be cramming things like Granite and Diorite in the same block id, but this will become an issue with problem number 7.6. Speaking of block ids, this suggestion does not give any way to control what the actual id is. All blocks have an id, like minecraft:stone, but I can't set what that id is with this command. In fact, I can't actually set what the block is named in the inventory for that matter.
7. I can't control what the block does when it recieves a redstone signal. What if I want to make a light that's dimmer than a redstone lamp that can be turned on and off with redstone?
8. Oh, and speaking of light, you can't set that either.
9. In fact, there are a lot of minor, but important variables that this doesn't count for, such as opacity, whether or not it can fall, explosion resistance, whether or not it is slippery, whether or not it reduces the damage a player takes and how much, or whether or not it can be burned by fire.
10. I can't control what this block does if it's left or right-clicked by a player, if a mob steps on it (Like a pressure plate), if it's being pointed at, or if it's been right clicked with a special tool (Dirt -> Path Block or Farmland.)
11. Speaking of right-clicking, I can't control whether or not this block has an inventory or GUI of any kind.
12. I can't set this block to do anything on a certain time schedule or per-tick. So "machines" like furnaces or brewing stations are simply impossible to create, and so is anything else that preforms actions based on the time.
13. I can't set this block to preform actions upon it's placement or destruction, such as the sponge, which sucks up water when placed.
14. I can't set whether or not this block's item form is available in the creative inventory.
15. I can't set this block's drops. (Like how stone normally drops cobblestone.)
I'm sure there are things in this list I've forgotten. There's no way you can stuff this all in a command. (Especially stuff that needs to be a function, such as the time-schedule, construct/destruct, player and entity interaction and redstone control.)
I'm not actually sure that even a data pack will work for this purpose. Block Information is usually loaded at the start of the game, when the Mojang logo pops up and before the main menu appears. We may need a whole new kind of "pack" for this specific change that affects all worlds in a folder. (Though 1.13 is revamping a lot of stuff relevant to blocks, and maybe this is on Mojang's TODO list.)
No Support in it's current form.
My avatar is a texture from a small block game I made in Python. It's not very good and it probably won't work if you install it.
I'm very alone in my Minecraft worlds as I don't have a very good internet connection to run a server. If you're like me, you might be interested in my Posse mod suggestion.
Yeah, I was gonna edit this post now, thank you for the idea. I actually wasn't thinking of that at the time.
Yes the front is depending on which way the player is facing. The block should move it's direction like an observer of dispenser to face the front towards the player, interesting question though!
Okay I'm sorry that I haven't supplied this well enough. I was working on updated this thread, which I will do now. I decided, like custom crafting, that the files for the custom blocks will be held in .minecraft
Thank you though, I will change this up.
I think custom blocks and items should be added to data packs since you can't use custom recipes to get items with custom NBT data.
Custom blocks and items should have a separate folder in the namespace folder in a data pack. I think custom blocks and items should be supported in a data pack 100%.