Class MappedItemSupplier

java.lang.Object
dev.crafty.core.gui.ItemSupplier
dev.crafty.core.gui.suppliers.MappedItemSupplier

public class MappedItemSupplier extends ItemSupplier
Supplies GUI items dynamically based on mapped data and a template. Example Config: type: MAPPED mapper: source: "get_all_player_items" icon-template: material: PLAYER_HEAD name: "{item_name}" lore: ["Owned item"] skull-owner: "{item_owner}" actions: - "execute_function:handle_paginated_click"
  • Constructor Details

    • MappedItemSupplier

      public MappedItemSupplier()
  • Method Details