promotional bannermobile promotional banner

NameplateBuilder - API

The lightweight API for mod developers who want to add their own nameplate segments to NameplateBuilder.
Back to Files

NameplateBuilder-API-2.0.0.zip

File nameNameplateBuilder-API-2.0.0.zip
Uploader
Frotty277Frotty277
Uploaded
Apr 1, 2026
Downloads
1.1K
Size
4.0 MB
File ID
7856078
Type
R
Release
Supported game versions
  • Early Access

What's new

[2.0.0] - 2026-04-01

Breaking Changes

  • describe() renamed to define() and now returns SegmentBuilder
  • describeVariants() renamed to defineVariants()
  • undescribe() renamed to undefine()
  • register() renamed to setText()
  • remove() renamed to clearText()

Added

  • Resolver pattern - Mods can register a SegmentResolver function that computes segment text per entity, replacing the need for manual tick systems
  • SegmentResolver functional interface with resolve(Store, Ref, int variantIndex) signature
  • SegmentBuilder interface with resolver(), requires(), and cacheTicks() methods
  • define() returns SegmentBuilder for fluent configuration of resolvers and optimization hints

This mod has no additional files