YM Duct Tape
The roll of duct tape that holds the YesMenn! mods together.
Minecraft 1.21.1 | NeoForge 21.1.265+ | Fabric | Current version: 0.1.1
YM Duct Tape is the core library of the YesMenn! mods. Everything YM mods share lives here once instead of being copied into every mod: the YesMenn! creative tab and the YM kit, the GUI toolkit behind all YM screens.
On its own, YM Duct Tape adds no blocks, items or gameplay. You install it because a YM mod needs it, and in return all YM mods share one creative tab and one look.
The YesMenn! Creative Tab
All YesMenn! mods put their items into one shared creative tab instead of opening a tab each. Inside, the items are sorted into sections:
- Lights
- Technicals
- Decor
- Other
Install three YM mods and you still get exactly one tab, neatly sorted.
The YM Kit
Every YM settings screen, lamp editor and tool window is built with the YM kit, so they all look and behave the same:
- Windows with header and footer bars, sidebar tabs and scrolling pages
- Buttons, switches, toggles, segmented choices and dropdowns
- Sliders (optionally snapping to marked values), text and number fields
- Color fields with a full color picker
- Expandable blocks with a live summary in their header
- A reset icon next to every value, plus "Reset all" with a confirmation
- Dialogs, toasts and tooltips
- A rotatable 3D live preview of blocks and items
- An item and block picker with search
- A curve editor, for example for light flicker patterns
Settings change live and are saved when you close the screen. Screens can also keep the world visible and fade out while you drag a slider or color, so you see the result directly in the world.
Styles
You pick the look once, and every YM screen follows it:
- Metal: the default "YesMenn metal" look
- Portal: the window body becomes a moving starfield that follows your cursor, with two layer colors of your choice
Open the YM kit demo from the mod list (the config button of YM Duct Tape, or Mod Menu on Fabric) to try every element and to choose your style. The choice is stored in config/ymducttape-client.json.
Combined Settings Screens
Every YM mod registers its settings pages with YM Duct Tape. Mods that belong together show up in one shared screen. For example, YM Colored Lights and VILC open one settings window with the pages of both mods.
Used By
- YM Colored Lights
- YM Veil Iris Lights Compat (VILC)
- YM Technicals
- YM Creates
- YM Advanced Decor
- YM Decor Additions
- BetterCreativeMenu? YesMenn! (optional: its "YM" panel style uses the YM kit look)
Requirements
| Dependency | Requirement |
|---|---|
| Minecraft | 1.21.1 |
| NeoForge | 21.1.265 or newer |
| Fabric | Fabric Loader 0.20.1 or newer and Fabric API |
Install YM Duct Tape on both client and server when a YM mod with blocks or items needs it.
For Mod Developers
YM mods add YM Duct Tape as a required dependency and put their items into the item tags yesmenn:creative/<lights|technicals|decor|other> ("replace": false). The tab sorts them into its sections.
Screens built with the YM kit extend YmScreen and build their element tree in build(root). Settings pages are registered as a YmSettings.Section, and config screens can be generated from a config class with @YmOption fields.
License
YM Duct Tape is released under the YesMenn Custom License 1.0:
- Free to use for personal, educational, and non-commercial purposes
- Free modpacks may include official releases, with credit to xcruell and YesMenn and a link to this page
- No paywalled, subscription, or paid modpacks
- No reuploads, mirrors, or modified builds without permission
- Commercial use only with prior written permission, so please ask first
The full license text is included in the mod jar and the source repository.
Made by xcruell and YesMenn