-
-
Notifications
You must be signed in to change notification settings - Fork 8
ItemMods ‐ Custom Data
Hydr4 edited this page Jul 24, 2025
·
1 revision
The ITEM_MODS
custom data allows you to assign a custom block from the ItemMods plugin to a generated spawner block. This enables you to generate spawners that visually represent custom blocks defined by ItemMods.
-
Name:
ITEM_MODS
- Type: String
-
Applicable Materials:
SPAWNER
To set the ITEM_MODS
custom data, you provide a string in the format pack_name:block_name
, where pack_name
is the name of your ItemMods resource pack and block_name
is the identifier of the custom block within that pack.
Important: This custom data requires the ItemMods plugin to be installed on your server.
To generate a spawner that looks like a custom block named my_custom_block
from an ItemMods pack named my_pack
:
/oregen set customdata my_custom_spawner ITEM_MODS "my_pack:my_custom_block"