How to Make a Block

Works with
Section

This tutorial will guide you through the whole process of making a new block in MCreator.

Before you start

You will need to make a texture either by an editing program such as Gimp or Paint.net, or you can simply use the embedded editor. If you need help making it, go to Making a new Texture.

Name and material

  • First, go to the workspace.
  • Next click on Create new element.
  • 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 six groups on it:
    • Block textures: You will see a six squares: one blue, one red, and four white.
      • The top white block represents the top of the block.
      • The blue square represents the west side of the block. If you fill this in first, it will apply the texture to all the other sides (which is useful to prevent your block as showing up as the missing/purple-black texture).
      • The three other white squares represent the north, east, and south sides of the block (respectively).
      • The red square represents the bottom of the block and is the only field required.
    • Texture type: Choose Fixed textures if you want the block to appear as you've designed it in the above section; choose Single texture if you want just one texture for the entire block.
      • If you have it set to Single texture, but each of the above squares are different blocks, the result will be whatever is in the red square.
    • TX blocks option: This option is deprecated and currently serves no purpose.
    • Render type: This is a feature to fine-tune the rendering of your block and is optional to use.
      • Block render type: Choose Custom for a custom model.
      • Custom 3D model type: If you are importing a 3D model that you have created in BCraft Cubik or Blender, choose Obj model file; you can also write a JSON file (see this page for more information) in which case, select the option for JSON model definition.
      • Import 3D model: Select this button to open up the .obj or .json file for your custom render. You may also select the buttons for BCraft Cubik or Blender (respectively, as shown) to open an editor.
    • Transparency: Changes how transparent your block is
      • Check this box if your block has transparency: Leave unchecked for a solid block, check it if your block is similar to leaves, glass, iron bars, etc.
      • Transparency type: There are 4 different types. Note that for Cutout and Cutout Mipped, pixels are either fully transparent or fully opaque; only translucent supports varying alpha levels
        • Solid: No transparency (similar to dirt, stone, etc.)
        • Cutout: Transparent without mipmapping (similar to glass)
        • Cutout mapped: Like Cutout, but with mipmapping (for a good explanation of what mipmapping is, see this page)
        • Translucent: Partially transparent and the most resource heavy option (similar to ice)
    • Block dimensions: Edits the physical bounds of the block with ranges between 0 and 1
      • The 3 min coordinates reside in the bottom corner of the block, while the 3 max coordinates reside in the top corner
      • Lower half slabs would have the settings: 0, 0, 0, 1, 0.5, 1 (min x, y, z, max x, y, z)
      • Upper half slabs would have the settings: 0, 0.5, 0, 1, 1, 1

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 (1) or not (0) the light to pass 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 diamond. 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 will be the type of the particles, for instance, the particles could be bubbles or hearts (breeding).
    • Particle spawning shape: This is the shape of how the particles will spawn.
    • Particle spawning radius: This the distance that the particles will travel from your block.
    • Particle amount: This is the amount of particles that will 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. OR you can use the recipe element to make shapeless recipes.
  • 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".