Skip to main content

ItemBuilder

xyz.refineryteam.refinerycore.api.item.ItemBuilder is a fluent wrapper around ItemStack/ItemMeta, so item construction reads top-to-bottom instead of a sequence of meta.set... calls with manual null-checking.
ExampleItem.java

Creating a builder

Display & lore

Enchantments & flags

Other properties

Player heads

Escape hatches

EasyMiniMessage

xyz.refineryteam.refinerycore.api.minimessage.EasyMiniMessage is a thin static wrapper around Adventure’s MiniMessage, used throughout RefineryCore (commands, GUIs, scoreboards) so every plugin formats text consistently:
PlayersListener.java
Since every RefineryCore subsystem (commands, GUIs, scoreboards, prompts) accepts plain MiniMessage strings and formats them through this helper internally, you rarely need to call EasyMiniMessage.format yourself — pass MiniMessage strings directly to those APIs. Reach for it directly when sending a message outside of those APIs (e.g. player.sendMessage(EasyMiniMessage.format(...))).