MythicTotem Wiki
  • 🎉Welcome
  • 📦Info
    • ✅Requirements
    • ⚙️Install
    • 🔗Compatibility
    • 🛠️Configuration files
    • ⌨️Commands
    • ❓FAQ
    • 📋Format
      • Extra Conditions
    • 🆚Compare
  • 🛡️Totems
    • 📝Totem Config
      • Prices Option - Premium
    • 📚Example: Common 2D Totem
    • 📚Example: Common 3D Totem
    • 📚Example: Ender Crystal Totem
    • 📚Example: Entity Totem
    • 📚Example: Totem with a Key required
  • ✨Features
    • 🎨Color Code
    • 💾Saved Item
    • 🔍Custom Item Match Method
Powered by GitBook
On this page
  • Config
  • Info
  1. 🛡️Totems

📚Example: Totem with a Key required

Config

mode: 'HORIZONTAL'
layouts:
  1:
    - 'AAAAA'
    - 'AAAAA'
    - 'AABAA'
    - 'AAAAA'
    - 'AAAAA'
  2:
    - 'CCCCC'
    - 'CCCCC'
    - 'CCCCC'
    - 'CCCCC'
    - 'CCCCC'
explains:
  A: 'minecraft:stone'
  B: 'minecraft:dirt'
  C: 'minecraft:netherrack'
actions:
  1:
    type: message
    message: 'Hello World!'
  2:
    type: mythicmobs_spawn
    entity: 'SkeletalKnight'
conditions:
  1:
    type: trigger
    event: 'PlayerDropItemEvent'
# Core block means what block player should drop item on.
core-blocks:
  - B
prices:
  1:
    material: APPLE
    amount: 1
prices-as-key: true
disappear: true

Info

  • We make this totem can only be actived with PlayerDropItemEvent, so player have to drop item to active this totem.

  • We also set core block for this totem, so player have to drop item onto specified blocks to active this totem.

  • We also set prices for this totem, so player's drop item will consume and disappear because this totem need price to active.

  • Price feature is only available for PREMIUM version of MythicTotem.

Previous📚Example: Entity TotemNext🎨Color Code

Last updated 6 months ago