LESSON01

BLOCKBENCH 3D
Your first dynamic block

Halloween
Jack-o-lantern.

Give the square an expression,
Let it light up again.

It's not an orange box with a smiley face on it. The eyes can transmit light, there is candlelight inside, and the lid can be lifted. Let’s break this thing down into 8 small steps and do it step by step.

  • Complete Beginner
  • Recommended 60–90 minutes
  • Blockbench 5.x
Real-time 3D works

Loading real-time model...

Drag to rotate·Scroll wheel to zoom
Play with your target title first.Switch to "open lid" to view the structure; switch back to "candlelight" to restore lid closure. Web page light effects are not equal to game light sources.
This time's goalMake a jack-o'-lantern with texture, hollowed-out smiley face, flashing and lid opening.4 checkpoint projects ↓

BEFORE YOU BUILD

You don’t have to do it right once, you can continue doing it at any time.

Prepare a computer, mouse and Blockbench ↗. used in this lesson Generic Model (general / free model), you do not need to install Minecraft or write codes. The first one can be done in two stages: modeling and animation.

Download the exercise package for this lesson · 24 KB ↓
  • 01-shellShell Complete · After Step 2
  • 02-carved-faceSmiley completed · After step 3
  • 03-textured-structureTexture/Grouping/Pivot Ready · After step 6
  • 04-finished-animatedAll completed · Contains two animations

There are 4 .bbmodel and PNG textures in the package, which can be opened independently. The following 8 "real machine operation" pictures are from the native Chinese version of Blockbench: Open the checkpoint of this lesson to display the tool panel, model and animation timeline of the corresponding stage. Checkpoints have embedded textures, so early projects are also colored; structural diagrams are marked separately. Click on the software screenshot to view the original image, and you can also zoom in on the parameters on your mobile phone.

STEP1

Open your workbench

First let a block appear on the workbench.

  1. Open Blockbench, create a new Generic Model. Fill in the project name pumpkin_lanterntexture size set to 64 × 64, use a face-to-face UV (don't enable Box UV). The interface language is different and can be compared to the bracketed English.
  2. Add a cube (Add Cube). Select it and find Position,Size,RotationThree fields. The subsequent forms are filled in in the order of X / Y / Z.
  3. Use the mouse to drag the viewing angle and the scroll wheel to zoom. Save the project as my-pumpkin.bbmodel; every small step after that is saved.
X → left and rightY ↑ high and lowZ ↔ before and after
Native Blockbench · Chinese interfaceView original image ↗
Project dialog for native Blockbench: Generic model, pumpkin_lantern filename, face-by-face UV, 64×64 UV size
Actual machine 01Starting from a new project, first set up the canvas
  • Select "Universal Model" as the format; the file name in the screenshot is pumpkin_lantern.
  • Use Per-Face UV as the default UV mode, set both width and height to 64, confirm, and then add cubes.
STEP2

First build the hollow shell

Instead of building a solid box first, enclose the space like building blocks.

Rename the cube just now left_wall, add 3 more cubes. Enter the table below and put the name Shell grouping. We first make the left and right walls, the back panel and the bottom panel; leave the front for the expression and the top for the cover. The initial value of

Native Blockbench · Chinese interfaceView original image ↗
left_wall is selected in Blockbench editing mode, the right position is 0, 0, 1.5, the size is 1.5, 14, 14.5, and there are four shell parts in the outline
Actual machine 02Select a Wall and Enter Its Dimensions on the Right
  • Select left_wall in the "Outline" on the lower right; the blue outline tells you which piece you are editing.
  • The "position" and "size" on the upper right correspond to the table below. Only the wall and floor are enclosed in the middle, and the front and top are still empty.
A hollow structure surrounded by three pumpkin walls and a bottom plate, with the front and top open
Figure 01 / First surround the hollow structure. The main body is 16 in width and 16 in depth, and the wall is 14 in height; the upper 2 spaces are reserved for the lid.
Part NamePosition · X / Y / ZSize · X / Y / Z
left_wall0 / 0 / 1.51.5 / 14 / 14.5
right_wall14.5 / 0 / 1.51.5 / 14 / 14.5
back_wall1.5 / 0 / 14.513 / 14 / 1.5
base1.5 / 0 / 1.513 / 1.5 / 13
STEP3

Spell out a hollow smiley face

Leave the orange part, and the eyes and mouth will naturally be empty.

You do not need a Boolean cutout for this step. Think of the front face as 16 columns × 14 rows of graph paper: Orange is a reserved square and deep green is an empty hole. Each line consists of successive orange colours that synthesize a rectangular shape.

Native Blockbench · Chinese interfaceView original image ↗
Hollow pumpkin front face in Blockbench, select carved_face_y3_x0 block, position 0, 3, 0, size 4, 1, 1.5
Actual machine 03Use long strips to spell out a smiling face, leaving the hole really empty
  • Select carved_face_y3_x0 on the right side: starting from X=0, Y=3, width 4, height 1, thickness 1.5.
  • The eyes and mouth are real gaps. Use the grid below to plan the position of each strip.
Smiley face coordinate map, X from 0 to 15, Y from 0 to 13; keep orange and leave dark green blank
Figure 02 / Count Y from bottom to top, first find the solid interval of this row.
The outer shell has a hollow front face, and the eyes and serrated mouth are not painted on the surface
Figure 03 / The real hole has thickness when viewed diagonally.
Make a row together: Y = 12

Leave gaps at X = 4 and X = 11 in this row, so add three strips:
Position 0 / 12 / 0 → Size 4 / 1 / 1.5
Position 5 / 12 / 0 → Size 6 / 1 / 1.5
Position 12 / 12 / 0 → Size 4 / 1 / 1.5

The height of each bar is 1 and the thickness is 1.5. When finished, put them all in Shell. This smiley face uses a total of 30 cuboids; there is no need to count the boxes to guess the size, the complete table is below.

Expand the complete front face size chart · 30 items
Part NamePosition · X / Y / ZSize · X / Y / Z
carved_face_y0_x00 / 0 / 016 / 1 / 1.5
carved_face_y1_x00 / 1 / 016 / 1 / 1.5
carved_face_y2_x00 / 2 / 016 / 1 / 1.5
carved_face_y3_x00 / 3 / 04 / 1 / 1.5
carved_face_y3_x1212 / 3 / 04 / 1 / 1.5
carved_face_y4_x00 / 4 / 03 / 1 / 1.5
carved_face_y4_x77 / 4 / 02 / 1 / 1.5
carved_face_y4_x1313 / 4 / 03 / 1 / 1.5
carved_face_y5_x00 / 5 / 02 / 1 / 1.5
carved_face_y5_x55 / 5 / 01 / 1 / 1.5
carved_face_y5_x1010 / 5 / 01 / 1 / 1.5
carved_face_y5_x1414 / 5 / 02 / 1 / 1.5
carved_face_y6_x00 / 6 / 02 / 1 / 1.5
carved_face_y6_x44 / 6 / 08 / 1 / 1.5
carved_face_y6_x1414 / 6 / 02 / 1 / 1.5
carved_face_y7_x00 / 7 / 06 / 1 / 1.5
carved_face_y7_x1010 / 7 / 06 / 1 / 1.5
carved_face_y8_x00 / 8 / 07 / 1 / 1.5
carved_face_y8_x99 / 8 / 07 / 1 / 1.5
carved_face_y9_x00 / 9 / 016 / 1 / 1.5
carved_face_y10_x00 / 10 / 02 / 1 / 1.5
carved_face_y10_x55 / 10 / 06 / 1 / 1.5
carved_face_y10_x1414 / 10 / 02 / 1 / 1.5
carved_face_y11_x00 / 11 / 03 / 1 / 1.5
carved_face_y11_x55 / 11 / 06 / 1 / 1.5
carved_face_y11_x1313 / 11 / 03 / 1 / 1.5
carved_face_y12_x00 / 12 / 04 / 1 / 1.5
carved_face_y12_x55 / 12 / 06 / 1 / 1.5
carved_face_y12_x1212 / 12 / 04 / 1 / 1.5
carved_face_y13_x00 / 13 / 016 / 1 / 1.5
STEP4

Add lid and candlelight

Turn an empty box into a lamp with internal structure.

Add a square_lidPosition 0 / 14 / 0Dimensions 16 / 2 / 16Put it in. Lid Grouping. Put the melon stems and small leaves into Stemcandlesticks, candles and light cores in. Candle;3 small pieces of flame in Flame.

Native Blockbench · Chinese interfaceView original image ↗
Blockbench temporarily hides Shell and Face_Glow, exposes the lid and internal candlelight, selects wax_body to display the position and size of the wax body
Actual machine 04Hide the Shell and Look Inside the Lantern
  • During the demonstration, click on the eye on the right side of the outline to temporarily hide the Shell and Face_Glow; what is floating above is the still visible cover, not the misplaced parts.
  • Select wax_body to inspect the candle parameters. The holder, wax drips, wick and Flame group are also visible on the right. Restore visibility when you finish.
The candle tray, candle body, wax drips, wick and three layers of block-shaped flame
Figure 04 / Candlestick → wax body → wick → three small pieces of flame.
The lid of the finished product is opened, revealing the hollow interior of the pumpkin
Figure 05 / Structure after opening; the opening action will be made in step 8.

Temporarily hide the cover to facilitate access to the interior. Last added Face_Glow Grouping and warm_light_behind_cutouts sheet, placed behind the opening. It gives the smiling face a warm-colored background; it is not in-game lighting code.

Expand the full size of the lid, melon stem, candle and warm light panel
Part NamePosition · X / Y / ZSize · X / Y / Z
square_lid0 / 14 / 016 / 2 / 16
stem_base6.5 / 16 / 6.53 / 1 / 3
stem_tip7 / 17 / 72 / 1.5 / 2
leaf_base9 / 16.05 / 72 / 0.4 / 2
leaf_tip11 / 16.05 / 7.51.5 / 0.3 / 1
candle_tray5 / 1.5 / 56 / 0.5 / 6
wax_body6.25 / 2 / 6.253.5 / 5.5 / 3.5
wax_drip5.95 / 5.2 / 7.50.5 / 2.2 / 1
wick7.7 / 7.5 / 7.70.6 / 0.6 / 0.6
flame_base7.1 / 8 / 7.11.8 / 1.5 / 1.8
flame_middle7.4 / 9.5 / 7.41.2 / 1.4 / 1.2
flame_tip7.6 / 10.9 / 7.60.6 / 0.8 / 0.6
warm_light_behind_cutouts1.5 / 2 / 2.613 / 11 / 0.15
STEP5

Color it with pixels

The model determines the shape, and the texture is responsible for making it look like a pumpkin.

  1. In the texture (Textures) panel, import the practice package halloween-pumpkin-skin.png, sized 64 × 64. Switch to Paint, choose a 1-pixel brush, and draw light and dark vertical stripes in the orange region. Start with a small area and watch how the model changes.
  2. Switch back to Edit, select a cube, and then select the face to be mapped in the UV panel. Assign a skin texture to it, then move the UV box to the corresponding color block.UV is "where to get the color from this surface in the picture."
  3. The flames and warm light panels use a second warm light texture. When making by hand, you can first use the ones in the bag halloween-pumpkin-glow-static.png, covering the full 16 × 16 UV area. You can continue to the deformation animation in Step 7 without first creating an animated texture.
64×64 pixel skin: upper row of orange vertical stripes, middle row of top cover, lower row of dark orange trim, green stem, wax body, dark wick
A small picture with clear division of labor.
  1. Y 0–15: Vertical texture of pumpkin outer wall
  2. Y 16–31: Square pattern of top cover
  3. Y 32–47: Trim edge/melon stem/wax body/wick
Keep the edges of pixels after zooming in, do not use blur brushes.
Native Blockbench · Chinese interfaceView original image ↗
Native Blockbench painting mode, 64×64 texture canvas and texture list on left, pixel grid model in center, color picker on right
Actual machine 05Look at the pixels on the left, and the effect of sticking to the model in the center.
  • Switch to "Painting Mode" on the upper right, the 64×64 texture canvas is displayed on the upper left, and below is a list of two textures.
  • Set the brush size in the top toolbar and choose a color on the right. Save a copy of your project first, paint a small stroke, and check its position on the central model.
Expand UV comparison: How does each color block correspond to the model?

The coordinates in the following table are texture pixels, not model positions. Per-face UVs use the upper left corner (U, V) and width and height.

PurposeUpper left corner U/VWidth/Height
Left and right walls/back wall16/0 or 32/016 / 16
All Lid Faces0 / 1616 / 16
Base plate / front face trimming0 / 3216 / 16
Melon stem and leaves16 / 3216 / 16
Candle Body and Wax Drips32 / 3216 / 16
Candlestick and wick48 / 3216 / 16

Front face direction North The surface should be continuously sampled: the starting point is U = Position X,V = 15 − Position Y, with a width equal to long strip X-sized with a height of 1. For example, the first article in Y = 12 is U = 0, V = 3, width 4, height 1. The side, top and bottom of it takes a deep orange tan; the back is orange.

STEP6

Find the Lid's Rotation Axis

To open it like a box lid, first locate its hinge.

Organize and group in the outline (Outliner) according to the following levels. Drag the child group into the parent group:Stem must be in Lid, so the stem moves with the lid. The flame can move with the candle, but the animation should act only on Flame.

Side pivot indication: the rotation axis is at the rear edge of the cover, and the top cover rotates from horizontal closure to 105 degrees; the pivot coordinates are 8, 14, 15
Pivot indication / The orange dot does not move and the front edge of the lid arcs around it. The X-axis is perpendicular to this side view.
Pumpkin
├─ Shell       外壳与笑脸
├─ Lid         顶盖
│  └─ Stem     瓜梗与叶片
├─ Candle      蜡烛与烛台
│  └─ Flame    火焰
└─ Face_Glow   暖光板
  1. Select Lid groupingEnter in Pivot Point 8 / 14 / 15. This point can also be moved using the pivot tool.
  2. Flame pivot is set to 8 / 8 / 8, the flame changes around the bottom when scaled. For other groups: Pumpkin and Shell, Face_Glow 8/ 8; Stem 8/ 16/8; Candle 8/ 1/8.
  3. In Edit, temporarily change Lid's X rotation to 30°Check if it opens along the back edge and moves together. When you see it, restore the rotation to 0 / 0 / 0, start animation again.
Native Blockbench · Chinese interfaceView original image ↗
Blockbench editing mode selects the Lid group and its subcomponents, the upper right pivot point displays 8, 14, and 15, and the Stem is nested within the Lid
Actual machine 06Select the Lid group, not an individual cube.
  • The Lid on the right is highlighted and the Stem is indented inside it; the lid and melon stem will move as a whole.
  • Look to the right at the line "Pivot Point": 8/14/15. The screenshot still hides the casing and warm light panel so that the internal relationships can be seen clearly.
STEP7

Let the Flame Breathe Gently

Instead of moving each flame individually, it is enough to change the entire Flame grouping.

  1. Open Animate, New Animation pumpkin.flame_flicker, duration 2 seconds, loop selected Loop.
  2. Select the Flame group, move the timeline to 0 seconds, and add a keyframe to the Scaletrack. Follow the table to set the time, add keyframes, and enter the X / Y / Z scale values. Choose Linear interpolation.
time/secondScale XScale YScale Z
0111
0.250.881.180.94
0.51.080.81.05
0.850.931.11
1.251.120.881.04
1.650.941.140.94
2111

And then to Flame Rotation track: add three keyframes:0 seconds → 0 / 0 / −6°,1 second → 0 / 0 / 6°,2 seconds → 0 / 0 / −6°. It will sway slightly from side to side. Finally, set the Lid's Rotation to a frame of 0 / 0 / 0 at 0 seconds and 2 seconds, so that the lid returns to the closed position when switching back to the candlelight animation.

0 s
Start
Intermediate frame
Height / Sway
2 s
Return to starting point
Native Blockbench · Chinese interfaceView original image ↗
Blockbench animation mode selects flame_flicker and Flame grouping, there are seven scaling key frames at the bottom, and the 0.88, 1.18, 0.94 values ​​of 0.25 seconds are selected on the left
Actual machine 07Seven zoom key frames allow the flames to breathe
  • Select flame_flicker on the upper left and Flame on the right; there are 7 diamond-shaped keyframes in the "Zoom" row at the bottom.
  • The blue diamond is the 0.25-second keyframe being edited, with values 0.88 / 1.18 / 0.94 on the left. The blue playhead is still at 0 seconds.
  • In order to see the candlelight, Shell, Lid and Face_Glow are temporarily hidden during the demonstration. Drag the playhead to preview and select a key frame to edit the frame value.
STEP8

Lift the lid and complete the work

One last little surprise: let the lid open by itself.

  1. Create a new second animation pumpkin.open_lid, duration 1.2 seconds, loop mode set to Hold (keep the last frame).
  2. Select the Lid group and add the following three keyframes to Rotation. Only X changes; Y and Z remain 0. Use Linear interpolation.
  3. In order to switch smoothly from the candlelight animation, add one frame to Flame's Scale at 0 seconds and 1.2 seconds in this animation. 1 / 1 / 1. Save the project and play the two animations separately.
time/secondLid Rotation X / Y / ZYou will see
00° / 0° / 0°Completely closed
0.2512° / 0° / 0°Make a slit first
1.2105° / 0° / 0°Open and stay
Native Blockbench · Chinese interfaceView original image ↗
Blockbench's open_lid animation, playhead at 1.2 seconds, Lid's X rotation keyframe at 105 degrees, model lid open
Actual machine 08Drag to 1.2 seconds and check the opening result with your own eyes
  • First restore all groups to visibility, then select open_lid and Lid; the bottom "rotation" track has 3 keyframes.
  • Drag the blue playhead to 1.2 seconds, and the last frame on the left is X=105, Y=0, Z=0. The central lid opens along the rear edge and the melon stem turns together.
The lid pivots around the trailing edge and opens to 105 degrees, and the melon stem and blade rotate together
Figure 06 / The lid and melon stem are a family: the parent group moves, and the child group moves together.
GOAL!

YOU MADE IT

A lamp, already has your idea.

What you have done is not just a jack-o-lantern, but a complete 3D creation: shape → texture → grouping → animation. Save this version first, then choose a small variation to make it your own.

  • Change expression:Change the jagged smiley face into a surprised round mouth, keeping the real hollowness.
  • Change the atmosphere:Try a purple shell and cyan candlelight, and see how the mood changes.
  • Change rhythm:Extend the lid opening time to 2 seconds to make a lamp that wakes up slowly.

QUICK RESCUE

Got a little problem?

The lid turns like a windmill, not like lifting the lid.

First stop the animation, check whether the Pivot Point of the Lid group is 8 / 14 / 15, and then check whether the key frame is on the X rotation track. Make sure the group is selected, not the square_lid cube.

The melon stem did not move with the lid.

Stem should be nested within Lid, not alongside Lid. After dragging in, check that the melon stem and leaves are in the Stem.

The model becomes white, the texture is misplaced, or the texture cannot be found.

Open the checkpoint project control in the exercise package; it has embedded textures. When making it yourself, check whether the corresponding surface has a texture assigned, whether the UV falls on the correct color block, and whether the Box UV is opened by mistake. Skin is 64×64 and Static Warm is 16×16, don’t mix.

Why can't I put it directly into Minecraft after downloading?

.bbmodel is an editable project, not a MOD installation package. The Java block model JSON will not automatically play the skeletal animation here; before entering the game, you need to register the block for the target version and connect to the appropriate rendering and animation scheme. The next stage is available MOD development columnContinue learning.

The web page 3D failed to load, can I still learn?

Yes. All steps, structural drawings, dimension sheets and practice projects do not rely on 3D preview. The real-time viewer requires WebGL and an Internet connection to load Three.js; you can also download .bbmodel and open it locally in Blockbench for viewing.

Tool Description and Extended Reading

The parameters of this lesson come from the supporting jack-o'-lantern project; the name of the software tool can be compared with the official Blockbench documentation. The button locations may vary slightly between interface languages ​​or versions.

Interface, Grouping and Pivot ↗Project and export format ↗Back to Course Contents →