ItemMods ‐ Custom Data - DerFrZocker/Custom-Ore-Generator GitHub Wiki

ItemMods Custom Data

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

Usage

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.

Example

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"