-
Notifications
You must be signed in to change notification settings - Fork 0
Item Generator
Jupiter Dev edited this page Jun 10, 2025
·
1 revision
This page explains how to use the Item generator in mDirt to add custom items to your Minecraft datapack.
- In the Menu Bar, go to New Element β Item
- The main area will update with fields for configuring your item.
- The name shown to the player in-game.
- This appears in inventory tooltips and when hovered over.
- The internal ID of the item (e.g.,
ruby
) - Must be:
- All lowercase
- No spaces
- Use underscores (
_
) to separate words
- Choose an existing Minecraft item (e.g.,
flint
) - Think of it as the template for your custom item behavior.
- The stack size of your item.
- Can be from 1 - 99
- Whether or not your item should do anything special when Right-clicked.
- Only enabled if
Right Click Function?
is enabled. - Lets you choose
Tick
orImpulse
:-
Tick
will run your custom behavior every tick (20 times per second) that the right click button is held down. -
Impulse
will run your custom behavior the tick the right click button is pressed, and nothing else.
-
- Only enabled if
Right Click Function?
is enabled. - This is the actual custom behavior to be ran when the item is right-clicked.
- This is a list of Minecraft commands (without the
/
) to run.
- Choose one:
- Generated: A standard item model.
- Handheld: An item model for things like weapons.
-
Custom: Use a
.json
item model you provide- This must follow Minecraftβs item model format
- Controls how the item looks.
- The item requires a texture.
πΌ Must be
.png
files. 16x16 or 32x32 look best in game, though any size will work.
Made with β€οΈ by Faith & Code Technologies
Need help? Open an issue or visit the FAQs page.
Want to contribute? Check out Contributing
Β© 2025 mDirt β All rights reserved.