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: Ender Crystal Totem

Config

mode: 'HORIZONTAL'
layouts:
  1:
    - 'AAAAA'
    - 'AAAAA'
    - 'AABAA'
    - 'AAAAA'
    - 'AAAAA'
  2:
    - 'CCCCC'
    - 'CCCCC'
    - 'CCCCC'
    - 'CCCCC'
    - 'CCCCC'
explains:
  A: 'minecraft:end_stone'
  B: 'minecraft:obsidian'
  C: 'minecraft:diamond_block'
actions:
  1:
    type: message
    message: 'Hello!'
  2:
    type: mythicmobs_spawn
    entity: SkeletalKnight'
conditions: []
# Core block means what block player should place ender crystal on.
core-blocks:
  - B
disappear: true

# Can also be:
#mode: 'HORIZONTAL'
#layouts:
#  1:
#    - 'CCDCC'
#    - 'CCCCC'
#    - 'DCCCD'
#    - 'CCCCC'
#    - 'CCDCC'
#  2:
#    - 'CCBCC'
#    - 'CCCCC'
#    - 'BCCCB'
#    - 'CCCCC'
#    - 'CCBCC'
#explains:
#  A: 'none'
#  B: 'minecraft:obsidian'
#  C: 'none'
#  D: 'minecraft:ENDER_CRYSTAL'
#

Info

We use trigger condition to make this totem can only be active when player place ender crystal onto a block, and core-blocks option and can help us make this totem can only actived when player place ender crystal onto this block.

Previous📚Example: Common 3D TotemNext📚Example: Entity Totem

Last updated 6 months ago