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.

Featured Replies

Posted

Hello :)

Recently, I had the bright idea of creating a mod for one of my favorite servers. The concept was that (to put it simply) if the player was inside this region (I.E. X:100 to X:300 and Z:100 to Z:300) then a String (I.E. "Warehouse") would appear in the top right corner of the screen.  It is a mod that would display a callout on the screen for the player. If this does not make sense just ask Ill try to explain it better. So, I don't have too much experience with "Modding" and very basic knowledge with "Java" and I'm looking for someone or some people to help me out with this mod :D!

So if you can or want to help out just PM me :D

 

Have a great day :P !

So the idea is with commands, you can set an area, then if you are within this area have a specific text display on screen, which you would set when inside that space.

Question. Why make a FORGE mod for this. You can easily (well easily enough) do this in vanilla with command blocks..... and if u really want a server mod for this make it bukkit. Just saying

  • Author

No no no, I want this to work on a server and a String would not be in chat, it would be displayed on the players HUD.

I am aware of that. Using VANILLA Command blocks (which work on a server) you can make text appear on the players HUD... this should not be new info to you. Please

  • Author

I know VANILLA command blocks work on minecraft servers (Im not dumb). However, the server I play on I am not an admin nor owner, and there are 0 command blocks on the entire server (Confirmed by owner). So why would the owner go to all this trouble to create this when I could do the same thing client sided with forge?

when I could do the same thing client sided with forge?

 

Hahahahaha, you can't client-side-only this. xD

Not going to happen.

Apparently I'm a complete and utter jerk and come to this forum just like to make fun of people, be confrontational, and make your personal life miserable.  If you think this is the case, JUST REPORT ME.  Otherwise you're just going to get reported when you reply to my posts and point it out, because odds are, I was trying to be nice.

 

Exception: If you do not understand Java, I WILL NOT HELP YOU and your thread will get locked.

 

DO NOT PM ME WITH PROBLEMS. No help will be given.

I get the idea, you just want to know where you enter a specific area to a string to be displayed on your hub (not anyone else's game)

 

I haven't really done anything with tick handlers or drawing on the In-Game Gui Screen outside of Custom Chest, so I can't give you exactly what to use.

 

But it sounds like you would need to use a ClientTickEvent and check every few ticks or so if the player has entered that area, then set a boolean to true and draw the text on the screen. Then check once they leave, mark the boolean as false, and ether stop drawing the text.

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.