Jump to content
View in the app

A better way to browse. Learn more.

Forge Forums

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Need for web browser support [In-Game GUI etc.]? How to scan for annotations?

Featured Replies

Posted

Hi.

I was looking for a way to create a nice presentation GUI for several tasks on some kind of dashboard. For example statistics on a industrial park (yes, i am a statistics nerd).

As a web developer I ended up in frustration looking for nice GUIs and finally search for a way to embedd web sites within minecraft screens. However at the moment I got a pre alpha working. It is able to display any web page with help of cef (chromium embedded framework). Now I will work on some bridge to call annotation marked methods on either client and server from javascript so that I can gather data to be displayed.

First of all: Is there any commonly used annotation scanner? Something similar than reflections scanners? Or should I embedd it in a custom namespace? I am thinking of marking any class with annotations like @WebFrontend and the Screen needs to fetch them, create an instance and embedd it into the displayed web page so that they can be called from web sites.

Second question to all of you: Is there any need of this being published? For example if you need to create a complex gui wihtin your own mod. Or display some videos within an adventure game you could use it.

Thanks for your comments.

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...

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.