Painting Generator - Faith-and-Code-Technologies/mDirt GitHub Wiki

Paintings

This page explains how to use the Painting generator in mDirt to add custom paintings to your Minecraft datapack.


Creating a New Item

  1. In the Menu Bar, go to New Element → Painting
  2. The main area will update with fields for configuring your painting.

Filling Out the Fields

Display Name

  • The name shown to the player in-game.
  • This appears in inventory tooltips and when hovered over.

Name

  • The internal ID of the painting (e.g., shrek_painting)
  • Must be:
    • All lowercase
    • No spaces
    • Use underscores (_) to separate words

Width

  • The amount of blocks wide the painting should be.
  • Must be between 1 & 16

Height

  • The amount of blocks tall the painting should be.
  • Must be between 1 & 16

Accessible in Survival?

  • Whether or not placing a painting has a chance of placing the custom painting.

Texture

  • The actual texture of the painting.

🖼 Must be .png files. 16x16 or 32x32 look best in game, though any size will work.