Modded Creative Menu

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

234

Quick challenge

How far can you run before the mobs catch you?

Modded Creative Menu

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

```powershell .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`

```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.

ADS