-
Notifications
You must be signed in to change notification settings - Fork 1
Command Entry
fzzyhmstrs edited this page Dec 22, 2025
·
1 revision
Runs a command (or a function, using the /function command).
Note: For this entry type it is a very good idea to fill in the desc field of the Lootable Pool you are making. If you don't the player won't have any idea what the command will do if picked!
| Key | Type | Value Example | Note |
|---|---|---|---|
"type" |
String |
"lootables:command" |
|
"command" |
String |
"/function custom:example/test" |
Valid minecraft command. |
Fills a 7x3x7 area directly underneath the player with water. Why would you want this to be a reward? ¯_(ツ)_/¯
{
"type": "lootables:command",
"command": "/fill ~-3 ~-3 ~-3 ~3 ~-1 ~3 water"
}A description is strongly recommended. A basic Lootable Pool with a command descripton like above.
{
"id": "mod_id:wurter",
"desc": "Fills a 7x3x7 area directly underneath you with water",
"entry": {
"type": "lootables:command",
"command": "/fill ~-3 ~-3 ~-3 ~3 ~-1 ~3 water"
}
}