跳到正文

Modded Creative Menu

作者:cev-api

Provides a creative style menu for datapacks on Paper and Fabric servers.

收藏

截图

介绍

中文介绍正在准备中,下面暂时显示原文。

ModdedCreativeMenu

Multi-module Gradle project that builds:

  • Paper plugin (1.21.11+, Mojmap dev via Paperweight)
  • Fabric server mod (1.21.11+, Mojmap via Loom)

1
2
3

Purpose

ModdedCreativeMenu provides a faux-creative browser for custom server content.

  • It indexes content defined by installed server datapacks.
  • It presents that content in an in-game paged menu (items, blocks, mobs, enchant books).
  • It lets players obtain/use that content without manually typing datapack commands like loot or function.

Build

.\gradlew.bat build

Output jars:

  • paper/build/libs/moddedcreativemenu-paper-1.0.0.jar
  • fabric/build/libs/moddedcreativemenu-fabric-1.0.0.jar

Paper Plugin Usage

Main command:

  • /moddedcreativemenu

Aliases:

  • /mcmenu

Optional page/category args:

  • /moddedcreativemenu 2
  • /moddedcreativemenu items 3

Live style command (OP/admin):

  • /moddedcreativemenu style linear
  • /moddedcreativemenu style category

Permissions

  • moddedcreativemenu.use (default: op)
  • moddedcreativemenu.admin (default: op)

Config

paper/src/main/resources/config.yml

ui:
  ops-linear-pages: false
  • Config is reloaded when opening/navigating the menu, so style changes apply live.
  • ops-linear-pages: false (default):
  • OPs use category mode with the center category button enabled.
  • ops-linear-pages: true:
  • OPs see one continuous page sequence with categories appended in order:
  • Items -> Blocks -> Mobs -> Enchants
  • Middle category button is disabled for OPs in this mode.

Menu Layout

  • Bottom-left: Previous page
  • Bottom-middle: Change category
  • Bottom-right: Next page

Inventory title format:

  • Modded Creative <Category> X/Y

Content Source

  • The plugin reads server datapack content from <world>/datapacks (folders and zip packs).
  • Visuals/icons are rendered by the player’s active resource pack.
  • In practice, this relies on both:
  • datapack for item/function/enchantment definitions
  • resource pack for custom models/textures

License

Licensed under GNU General Public License v3.0 (GPL-3.0-only). See LICENSE.

常见问题

Modded Creative Menu 支持哪些 Minecraft 版本?

Modded Creative Menu 支持 Minecraft Java 版 1.21–26.2,共 16 个版本,可用的加载器:Bukkit / Fabric / Folia / Paper / Purpur / Spigot。下载时注意选择和你游戏版本一致的文件。

Modded Creative Menu 怎么安装?

先用 PCL2 或 HMCL 启动器安装对应版本的 Bukkit / Fabric / Folia / Paper / Purpur / Spigot,再把下载的 .jar 文件放进游戏目录的 mods 文件夹,重新启动游戏即可。开启了版本隔离的,mods 文件夹在 versions/版本名 下面。运行环境:仅服务端。

评论

登录后评论和评分

cev-api 的其他作品

查看全部 →