This wiki page is here for legacy reasons only. Older versions of MCreator used to have this feature or the feature does not need extended documentation anymore. Nevertheless, we kept the page for users of older versions.
Before you start
You will need to make a texture either by an editing program such as paint.net or with the programs built in program Learn more on this here: Making new texture
Name and material
- First, go to workspace
- Then create new element
- Pick "create a new block".
- Type the name of your block. Names must not be repeated! The end-user will not see this name, so name it something that you can identify. One way you can prevent your block name from being repeated is to put the mod type before your mod name, Example: BlockSteel or ItemEnderStick.
- Click next
- You now will have a page with four groups on it,
- Block Texture: For the TX Block you will only need to add a texture to the red box the other boxes are not needed.
- TX blocks option: This is required for this tutorial choose one of the models from the list that appeals to you.
- Don't render as a normal block: This is for TX blocks and custom models this needs to be checked for them.
- Has Alpha: Check this if you want your block to act like glass, If you want to see through the block, check this box.
Physical characteristics
Here you will have a number of options to chose from.
- Basic properties
- Name In GUI: This is the shown name of the block or item when you hover over it in any GUI in Minecraft.
- Hardness: This is how long it takes to mine the block.
- Resistance: This is how the block reacts to explosions.
- Has Gravity: Check this if you want the block to act like sand or gravel, it will fall if not on the ground.
- Creative Tab: This is where your block will be in creative mode.
- Advanced properties
- Isn't collidable: Check this if you want to walk through the block.
- Can provide power: Check this if you want the block to act as a redstone block.
- Light opacity: This property makes the block allow light through it or not 0 will not allow any light through, 126 makes it semi-transparent and 255 will allow all light through.
- Material: Select the material of the block. It isn't really important what to choose, but if you select water material, farmland will become wet if it's near it, if you select wood, you can smelt your block in the furnace, selecting lava means that you can get empty buckets full of lava by clicking on your block. here is some more info about materials.
- Dropping properties
- Tool able to destroy it: This is what tool you want to mine the block, Example: set to an axe to mine wood.
- Doesn't drop itself: Check this if you want the block to drop something other than the block you are mining. take note that you will need an item or block before you check this so it can drop it.
- Block that drops: This will become active when you check Doesn't drop itself. You can select your item or block you want to drop here.
- Drop amount: This is how much it drops when mined.
- Light, sound, and hardness
- Sound on step: This is the sound that your block makes when you walk on it.
- Luminance: This is how much light the block gives off.
- Is unbreakable: Check this if you want it to act like bedrock.
- Harvest Level to break: This is the tier of tool required to break the block. 0 is hand/wood, 1 is stone, 2 is iron and 3 is the diamond tier. Only the tier of tool you specify will be able to break your block.
- Spread Particle Effects - check this box if you want to add particles.
- Particle type: This is what the particles look like. Like bubbles or hearts when breeding.
- Particle spawning shape: This is the shape of how the particles spawn.
- Particle spawning radius: This is how far the particles travel from your block.
- Particle amount: This is how many spawn at one time.
- Click next
Events
- See this post to introduce you to events.
- Click next
Recipe and smelting
- Select recipe and smelting recipe by clicking on the grid for crafting and smelting. If you want that block to generate in the world, click on world generation, checkbox Generate in the world and select levels of generation by moving slider next to chunk. If you want to make a shapeless recipe you can leave this blank and make a new recipe element.
- Click finish
Test and editing
- If you want to test your Block, Click Start Client towards the top middle of MCreator.
- Your mod becomes visible in "My workspace" when you open My workspace.
- If you need to edit your element in "My workspace" click on "Edit element".