BattlePass
Get BattlePassJoin DiscordMinecraft Hosting
  • Home
  • Purchase BattlePass
  • ➡️Immersive BattlePass UI [NEW]
  • Quests
    • Creating Quests
    • Quest Types
    • Setting up and using Variables
    • PlaceholderAPI Endless Quests
    • Multi-Step quests
    • Special Cases Progress
    • Daily Quests Difficulty
    • Events
  • Features
    • Boosters
    • Menu Actions
  • General
    • Commands
    • Permissions
    • PlaceholderAPI Placeholders
    • Custom Items/Heads In Menus and Rewards
  • Developer API
    • Implementing API
    • Creating Your Own Quest Types
    • General API Methods
  • Useful
    • Enchants
    • Custom Enchants
    • Harvesting Crops
    • Custom Model Data
    • Timezones
    • Premade Configurations
    • Using with Citizens NPCs
    • Quest Specific Regions
  • TUTORIALS
    • Setting Up Rewards
    • Linking Rewards To Tiers
Powered by GitBook
On this page

Was this helpful?

Edit on GitHub
  1. Useful

Custom Model Data

How to set custom model data for items with examples

Just add customModelData: <data> to any item under material, example:

items:
  doesnt-have-pass-item: # The item if a player does not have the premium pass.
    material: 'minecart:0'
    customModelData: 0 #Set custom model data
    name: '&eTier %tier%'
    lore:
      - ''
      - '&7Rewards:'
      - '%lore_addon%'
      - ''
      - '&7Status: &eNot Eligible'
      - '&cPurchase the battle pass to'
      - '&cbe able to earn premium rewards.'
PreviousHarvesting CropsNextTimezones

Last updated 4 years ago

Was this helpful?