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.

OzzzyGreen

Members
  • Joined

  • Last visited

  1. Oh, hard of course. Well, I'll sort it out. Thanks for the help
  2. My mod is the player's passport. It is realized on GUI. How can I then take data about the player to bring them to the GUI?
  3. My code @SubscribeEvent public void onJoin(FMLNetworkEvent.ClientConnectedToServerEvent event) { EntityPlayer player = (EntityPlayer) event.getEntity(); NBTTagCompound entityData = player.getEntityData(); player_name = player.getName(); if(!entityData.getBoolean("joinedBefore")) { job = 0; rank = 0; law = 6; entityData.setBoolean("joinedBefore", true); } } The server that is in the photo. Sorry, I just do not know the language well
  4. Now in this event I can not use the EntityPlayer :C
  5. I run the local server on the computer, but this event does not work. A server that is not in a single player game for 2-4 people, but global
  6. On server. I played on the server with the mod "OpenComputers" and as I understand it, the gaming book is given by the mod itself on the server and in a single game
  7. I want that when I enter the server, which in the "multiplayer" tab, my mod executed its code using this event.
  8. Hello friends! "PlaherLoggedInInvent" does not work on the server. What kind of replacement can I find?
  9. I'm just a beginner. If not difficult, can you show how it is applied in practice?
  10. Not quite I want something like this: if (received damage from the diamond sword) { // this ... }
  11. Hi guys! My english is not the best, but anyway. I need to track the damage received from a certain item, how can I do this? Thanks

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.