Pop
Pop is a compact helper mod designed for modpack developers that provides additional options for displaying information on screen. Management is done through commands or using KubeJS.
Key Features
- Creating text elements on screen using commands (for example,
/pop create @s MIDDLE_LEFT "Hello, world!") - Built-in support for localization and text translation
- [ ] (Coming soon) progress indicators
- [ ] (Coming soon) headings and subheadings
- [ ] (Coming soon) customization via commands and code
- [ ] (Coming soon) additional text animations
How to Get Started
- Add the mod to your pack
- Launch the game
- Use the
/popcommand to create pop-up messages
You can also use KubeJS to work with Pop Manager and Pop Builder.
Usage 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)
// Now you can create a PopData object or immediately send it to the player
// If you're on the server
pop.sendToPlayer(player);
// If you're on the client
pop.display()
Improvement Suggestions
If you have ideas for new features, create a request in the GitHub repository. I'll try to review them as soon as possible and constantly work on improving the mod for maximum usefulness to pack developers.