Jump to content

Recommended Posts

Posted

I know this sounds a little weird, but I would like to have an event listener for when the boss name in the boss bar on the top of the screen is changed. This is a client-side only mod so I can't do anything with the server to inform the client about a name change.

Is it possible that there's a listener for something like this?

Posted
16 hours ago, diesieben07 said:

Check Minecraft::ingameGUI.getBossOverlay().mapBossInfos (you'll need reflection) for changes every tick.

is mapBossInfos a thing? can't find it.

Posted
On 5/16/2018 at 4:12 PM, diesieben07 said:

The field is private.

Btw, did it change? I remember getting Boss name in 1.11.2 was much different

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.