Мова

BetterMobCrucible

BetterMobCrucible

Modrinth

BetterMobCrucible - A Addon for BetterMob

8 завантажень оновлено 20d ago
остання v1.0.0 Modrinth
Paper Spigot 1.21 – 26.3 EquipmentMobs

modrinth github

✨ What is BetterMobCrucible?

BetterMobCrucible is an addon for BetterMob that
gives your custom items more ways to trigger skills. BetterMob already runs ~onUse; this plugin
adds swinging, swapping hands, equipping, picking up, dropping and timers, plus a few
item mechanics and placeholders.

It was built so that item content made for MythicCrucible-style plugins can run on BetterMob.
If you know that file format, you already know this one.

  • 🗡️ More item triggers: ~onSwing, ~onPressF, ~onEquip, ~onPickup, ~onDrop and
    ~onTimer:<ticks> in the same Skills: lists BetterMob already reads.
  • 🏷️ Item data: store values on items with setitemnbt and read them back anywhere with
    <itemnbt.key>.
  • 📜 Lore on the fly: rewrite an item's lore from a skill with setlore.
  • ⚡ Lightweight: one timer for all items, and events exit early when no item uses the trigger.
  • 🔌 Built on the BetterMob API: no MythicMobs needed.

🚀 Quick example

# plugins/BetterMob/items/wand.yml
example_wand:
  Id: STICK
  Display: '&bExample Wand'
  Lore:
    - '&7Swing to count'
  Skills:
    - sound{s=entity.experience_orb.pickup} @self ~onUse
    - setitemnbt{key=swings;value=1} @self ~onSwing
    - setlore{lore=&7Swings: <itemnbt.swings>} @self ~onSwing
/bettermob give example_wand
/bmc reload

📋 Triggers, mechanics and placeholders

| Type | Name | Description |
|---|---|---|
| Trigger | ~onSwing | Left click with the item in the main hand |
| Trigger | ~onPressF | Item is swapped between hands |
| Trigger | ~onEquip | Item is selected in the hotbar |
| Trigger | ~onPickup / ~onDrop | Item is picked up or dropped |
| Trigger | ~onTimer:<ticks> | Repeats while the item is in the main hand |
| Mechanic | setitemnbt{key=..;value=..} | Stores a string on the held item |
| Mechanic | setlore{lore=line 1\|line 2} | Replaces the held item's lore |
| Placeholder | <itemnbt.key>, <item.nbt.key>, <item.id> | Needs a BetterMob build with the placeholder API |

~onUse stays with BetterMob. BetterMob may log the extra triggers as invalid lines when it loads
items; that is harmless. They are written as skills into
plugins/BetterMob/packs/BetterMobCrucible/skills/items.yml, and BetterMob reloads when they change.

⌨️ Commands

| Command | Description |
|---|---|
| /bettermobcrucible list | Show the registered item triggers |
| /bettermobcrucible reload | Re-read the item files |
| /bettermobcrucible debug | Show the held item's BetterMob ID and stored data |

Alias: /bmc. Permission: bettermobcrucible.admin (default: op). Items are handed out with
BetterMob's /bettermob give.

🏗️ Supported environment

mcversion
Java 21+
folia
BetterMob 1.1.8+

🔨 Building

JDK 21:

mvn package

The BetterMob API classes under src/main/java/eu/northsoft/bettermob/api are a compile-only copy
(excluded from the jar, BetterMob provides them at runtime). Update them when the BetterMob API changes.
CI builds on every push to main and creates or updates the release v<version>.

📄 License

MIT

Версії

Release
1.0.0
paper, spigot · 1.21, 1.21.1, 1.21.2 · 20d ago
8

Коментарі 0

Поки немає коментарів. Будь першим, хто поділиться думкою.

FAQ

Як встановити BetterMobCrucible?

Завантажте файл під свою версію Minecraft і завантажувач із цієї сторінки, потім покладіть .jar у папку mods (або plugins) і запустіть гру.

BetterMobCrucible безкоштовний?

BetterMobCrucible можна завантажити безкоштовно на Modgrid — ми ведемо прямо до офіційного джерела.

Які версії Minecraft підтримує BetterMobCrucible?

Працює з Paper, Spigot. Підтримуються версії 1.21–26.3. Перелік підтримуваних версій і завантажувачів — у блоці завантаження на цій сторінці.

Завантажити BetterMobCrucible

Файли надаються напряму з першоджерела. Modgrid не зберігає та не змінює їх.