Nexo
  • 🏠Home
  • 📜Main Changelog
  • ❓FAQ
  • General Usage
    • ⌨️Commands
    • 🧑‍🍳Recipes
  • Migrate
    • ☄️Oraxen → Nexo
    • 📦ItemsAdder → Nexo
  • Configuration
    • ⚙️Plugin settings
    • ResourcePack
    • ⚒️Items
      • Special Item Appearance
    • ⛑️Custom Armors
      • 🪽Custom Elytras (1.21.2+)
      • Component Based (1.21.2+)
      • Trims Based (1.20-1.21.1)
    • 🌀Glyphs
      • 🎞️Animated Glyphs
      • 🖼️Multi-Bitmap Glyph
      • 🔗Reference Glyph
    • 🎵Sounds
  • Mechanics
    • 🪑Furniture Mechanic
      • 🎯Hitbox
      • 🖇️Connectable Furniture
      • 🪑Seat Mechanic
      • 🛏️Bed Mechanic
      • 💡Light Mechanic
      • 🧑‍🌾Farming Mechanic
    • 📦Custom Block Mechanics
      • ChorusBlock Mechanic
      • 🎶NoteBlock Mechanic
        • Stripped Log Mechanic
        • Directional Mechanic
      • 🧵StringBlock Mechanic
    • 🔱Custom Trident
    • Other Mechanics
    • ClickAction Mechanic
    • Custom Mechanic
  • ➕Addons
    • 🚪Carpentry
    • 🧩Core Shaders
      • Text Effects by Akis
  • Compatibility
    • ModelEngine - custom mobs
    • MythicMobs - custom mobs
    • MythicCrucible
    • MMOItems
  • Community Guides
    • Vendors
    • API
Powered by GitBook
On this page
  1. Mechanics
  2. Furniture Mechanic

Light Mechanic

PreviousBed MechanicNextFarming Mechanic

Last updated 1 month ago

Using the Light-Mechanic you can configure your furniture to emits light. It takes an offset from the base-furniture and a light-level between 1 & 15 Light can also be made toggleable by adding toggleable: true, meaning right-clicking the furniture will toggle the light on/off. Using toggled_model you can provide a NexoItem to display when the furniture-light is toggled on Likewise, toggled_item_model lets you provide an ItemModel directly without a NexoItem to display when toggled on. Note; this is for 1.21.2+ servers only

myitem:
  Mechanics:
    furniture:
      lights:
        #toggleable: false                    # Default is false
        #toggled_model: some_nexo_item        # The NexoItem to show when light is on
        #toggled_item_model: namespace:model  # The ItemModel to use when light is on  
        lights:
          - 0,0,0 15    # x,y,z lightLevel
🪑
💡
Table Lamp included in Nexo Default Items (off)
Table Lamp included in Nexo Default Items (on)