Pop (up)
Modby ErrorMikey
Custom text display for modpack developers via commands or kubejs
Description
Pop
Pop is a small helper mod for modpack developers to allow for more screen locations to display information on screen in a command driven, or kubejs driven way.
Features
- Display information on screen in a command driven way (
/pop create @s MIDDLE_LEFT "Hello World!") - Supports translations out of the box
- <input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"> (Coming soon) progress bars
- <input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"> (Coming soon) headings & subheadings
- <input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"> (Coming soon) customisation via commands as well as code
- <input type="checkbox" disabled style="margin: 0px 0.35em 0.25em -1.6em; vertical-align: middle;"> (Coming soon) more animations for text
How to use
- Install the mod in your modpack
- Run the game
- Use the
/popcommand to create a new pop up
Alternatively, you can use KubeJS to access the Pop Manager and the Pop Builder.
Example
// server.js
const PopBuilder = java.load('pro.mikey.mods.pop.PopBuilder');
const Placement = java.load('pro.mikey.mods.pop.data.Placement'); // Optional
const pop = PopBuilder.create()
.duration(5)
.content({ text: "Hello World!" })
.placement("middle_left") // Or .placement(Placement.MIDDLE_LEFT)
// You can now either build it and get a PopData object or directly send it to the player
// If you're on the server
pop.sendToPlayer(player);
// If you're on the client
pop.display()
Requests
If you have any requests for features, please open an issue on the GitHub repository. I will try to get to them as soon as possible. I'm always looking for new ideas to improve the mod and make it more useful for modpack developers.
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Screenshots
Similar Mods
You Shall Not Spawn! (Modpack Utils Series)
JSON based entity blacklisting. Disable spawning for any entity from any mod.
Farmer's Delight Refabricated
Modern Fabric port of the cooking and farming mod, "Farmer's Delight"
Bridging Mod
Reacharound Placement (Bedrock Bridging) for Forge, Fabric, & Quilt
Animatica
A mod for loading OptiFine animations via the MCPatcher animated texture format
BaguetteLib
A simple but powerful event library that gives mod developers the control they actually need.
Bosses of Mass Destruction [Forge | NeoForge]
WIP mod that adds boss fights to Minecraft