Перейти к содержимому
Mineforgian

Pop

Custom text display for modpack developers via commands or kubejs

43K загрузок14 подписчиковMPL-2.0forgeneoforge

Обновлён 13 ноября 2025 г. · опубликован 30 марта 2025 г.

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.

BisectHosting

Features

  • Display information on screen in a command driven way (/pop create @s MIDDLE_LEFT "Hello World!")
  • Supports translations out of the box
  • (Coming soon) progress bars
  • (Coming soon) headings & subheadings
  • (Coming soon) customisation via commands as well as code
  • (Coming soon) more animations for text

How to use

  1. Install the mod in your modpack
  2. Run the game
  3. Use the /pop command 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.

Центр версий

5 версий
  • Релиз21 КБ
  • Релиз23 КБ
  • Релиз21 КБ
  • Релиз21 КБ
  • Релиз21 КБ

Ченджлог

21.1.3Релиз1.21.1 · 13 ноября 2025 г.

[21.1.3]

Fixed

  • Various issues with KubeJS use of the pop builder
    • Simpler naming of the placement enum for string inputs. TOP_LEFT and all variants can now be referenced as "top left, "top.left", or "top-left". And this applies to all placement enum values.
20.1.0Релиз1.20.1 · 8 июня 2025 г.

[20.1.0]

Added

  • Back ported the mod to 1.20.1
21.1.2Релиз1.21.1 · 16 апреля 2025 г.

[21.1.2]

Fixed

  • Render leaking causing inventory and other rendering layers to break
21.1.1Релиз1.21.1 · 6 апреля 2025 г.

[21.1.1]

Fixed

  • Crash on server startup due to client class being loaded on server
21.1.0Релиз1.21.1 · 30 марта 2025 г.

[21.1.0]

Added

  • The mod :D

Комментарии

Загружаем…