Skip to content

Instantly share code, notes, and snippets.

@cedrickchee
Last active August 14, 2025 23:31
Show Gist options
  • Save cedrickchee/2ff5c8bbf34105b01575902726e7531f to your computer and use it in GitHub Desktop.
Save cedrickchee/2ff5c8bbf34105b01575902726e7531f to your computer and use it in GitHub Desktop.
ChatGPT-5 Minecraft 3D Clone Prompt

ChatGPT-5 Minecraft 3D Clone Prompt

One-shot and a few multi-turn chats later, we got a simple "cinematic" level Minecraft-inspired (cube/voxel world) 3D game.

Model:

  • ChatGPT-5
  • ChatGPT-5 (with "think harder" prompt)
  • ChatGPT-5 Thinking

User Prompts

The 3 most important prompts. Actually, there are a few more for bug fixing and correcting error that I didn't included them here. They don't matter much.

1. Initial prompt

Create a 3D Minecraft clone.

Core Features

  • Procedural tree generation approach
  • Smooth terrain generation algorithms
  • Basic game play mechanics (movement, interaction, terrain manipulation)

Project Structure

  • Single HTML with full-page canvas layout
  • Basic UI controls
  • Styles for full-screen 3D experience

Textures

  • Texture generation functions with Canvas API
  • Draw geometric patterns (lines, circles, angles)
  • Unique block textures:
    • Grass texture generation
    • Dirt texture generation
    • Stone texture generation
    • Wood texture generation
    • Leaf texture generation

Terrain Generation

  • Multi-octave Simplex noise generator
  • Elevation algorithms for:
    • Rolling hills
    • Plateaus
    • Valleys
  • Block placement logic for:
    • Grass layers
    • Dirt layers
    • Stone layers

Procedural Trees

  • Tree generation system
  • Trunk block placement
  • Canopy leaf distribution
  • Custom wood/leaf textures

Player Controls

  • WASD movement system
  • Mouse look with pointer lock
  • Jump mechanics
  • Fly
  • Gravity simulation
  • Build collision detection system

Block Interactions

  • Left-click block breaking
  • Right-click block placement
  • Terrain modification system

Atmosphere

  • Gradient skybox system
  • Daylight cycle
  • Atmospheric depth effects

Controls

Control scheme:

  • WASD: Movement
  • Mouse: Look around
  • Space: Jump
  • Shift: Crouch
  • Left Click: Break blocks
  • Right Click: Place blocks

Technology Stack

  • JavaScript
  • Three.js: Use ES Module (ESM) loaded via importmap from jsdelivr.
  • CSS

2. Handheld torch

Good! Let's move on. Now I would like player experience visual effects like a handheld TORCH with PARTICLE EFFECTS. Design and create a very creative and detailed voxel art scene of a torch. Make the torch impressive.

3. Overall game visual

The handheld torch is impressive! Can you make the game visual impressive? Don't get to coding straightaway. Share your plan first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment