MonitoringMinecraft MonitoringMinecraft

Datapacks Menu

Датапак Datapack

Inspired by the ModMenu mod but for datapacks..

25 скачиваний 3 подписчика
Оцените первым
# ➕ Datapacks-Menu
  • A datapack inspired by ModMenu, this datapack allows multiple datapacks to share space in the pause screen allowing players to enable/disable datapacks, and go into their specific menus etc.

📝 Examples:

To use the datapack features you'll need to add a button to the datapack settings sub-menu if you want players to be able to use your menu from the pause menu.

  • Run command example

data modify storage datapack.menu add.button append value {label:"(Button Name)",width:120,action:{type:"minecraft:run_command",command:"(The command you wish to run)"}}

  • Show dialog example

data modify storage datapack.menu add.button append value {label:"(Button Name)",width:120,action:{type:"minecraft:show_dialog",dialog:"namespace:(dialog)"}}

  • Built-in Example (The one which comes pre-loaded)

data modify storage datapack.menu add.button append value {label:"Datapacks Menu Settings",width:150,action:{type:"minecraft:show_dialog",dialog:"datapack_menu:config"}}

📗 Guide:

  • When setting up this system into your datapack you only need to run a simple data modify command, this will allow the datapack to merge the button you add into the settings menu, I do plan on adding more features for other developers, but as of the moment this is the current system we have,

  • As for setting this system up, copy from the prior examples and add it to your setup function, then on reload this datapack will reload and update the storages!

  • With the Run Command: example I suggest having a trigger command so that non-oped players can run this, with this I'd suggest having it show a dialog based on the trigger e.g: My other datapack Inventory Pets has a command /trigger inventory_pets which shows a dialog and allows players to run sub-commands via the trigger commands, like controlling their sound/particle settings, open an in-game wiki and report issues via this sub-menu.

  • With the Show Dialog: Example if you have a simple dialog baked-in your datapack that just leads players to a bug-report/Guide/Uninstall function then this would be more preferable if you don't need players to run sub-command functions for non-oped players.

🐛 Bugs - Issues:

  • Currently this datapack has one major issue which is that if you open the main menu and try to enter the settings sub-menu you need to leave the escape menu and go from there, however with the nature of this pack and how it works I'm unsure of a way to fix it.

  • If you come across any bugs please report them in the issues.

⛳ Misc:

  • There is a smithed datapack with similar features however, to my knowledge it's hard coded and a more difficult setup, althought both are viable if you prefer that version,
Смотри также

Похожие подборки датапаки — по версиям Майнкрафта, загрузчикам и жанрам.

Сервера Майнкрафт

Играть интереснее на сервере — выбирай в рейтинге серверов Майнкрафт и заходи прямо сейчас.

SkyBars
SkyBars Java + BE
576 онлайн
1.8 — 26.2 версия
🎮 ВЫЖИВАНИЕ ⚔️ АНАРХИЯ 🚗 ГТА РП 🎤 ГОЛОСОВОЙ ЧАТ 🎁 БЕСПЛАТНЫЙ ДОНАТ 🌟 СМП 💻 ПК+ТЕЛЕФОН
MineLandy
MineLandy Java + BE
46 онлайн
1.12.2 — 26.1.2 версия
Ванила и анархия без приватов — полная свобода действий и честное выживание
beesmp
beesmp Java
1 онлайн
26.2 — 1.21.11 версия
Bee smp-улей,где каждый оставляет свой след
WahaCraft
WahaCraft Лаунчер
1 онлайн
Кланы | Боссы | RPG | Уникальная карта | PVP | Захват территорий | ВАРХАММЕР
MineLauncher
Лаунчер Майнкрафт без лицензии — все версии
Бесплатный лаунчер для ПК и Андроид — все версии 26.2, 1.21.11, 26.1.2, 1.16.5. Fabric, NeoForge, Forge, шейдеры, моды и скины в один клик.
Без лицензии Fabric, NeoForge, Forge Моды, шейдеры, скины Все версии Майнкрафта ПК и Андроид Для слабых ПК Сервера в лаунчере
Скачать бесплатно
Windows и Андроид · Бесплатно · Без лицензии
Наш чат