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.

Razboy20

Members
  • Joined

  • Last visited

Everything posted by Razboy20

  1. @SideOnly(Side.SERVER) @SubscribeEvent public void onDeath(PlayerEvent.Clone event) { if (event.wasDeath) { final String[] messages = {"Oh boiss we got a respawner O_O", "How dare ye respawn on me?", "GAAH! You died again!", "._. Just why...", "Was taht me or waas that you? -.-","Why isn't this in hardcore mode? It should be..."}; Random random = new Random(); int index = random.nextInt(messages.length); ChatComponentText text = new ChatComponentText(messages[index]); ChatStyle style = new ChatStyle(); style.setColor(EnumChatFormatting.LIGHT_PURPLE); text.setChatStyle(style); FMLCommonHandler.instance().getMinecraftServerInstance().getConfigurationManager().sendChatMsg(text); System.out.println("Respawned"); } } } Here is the code.
  2. I have been trying to make a mod for a 1.7.10 server (To put in a 1.7.10 mod pack) that can message all of the players online. I have looked this question up, and have not found any answers. How would I send a message to all of the players on the server? (When trying to do so, it only outputs to the console, and I believe that is because the mod is not installed on the client side.) I am brand new at forge and java, so any help would be appreciated.
  3. Nevermind found the problem. Java file was in the wrong place.
  4. I am new to java and modding, but I think I have the bare essentials of a mod. I am unsure of why I am getting this error; I have looked it up and nothing has helped me. Error: FML has found a non-mod file Webpage Connector-1.7.10.jar in your mods directory. It will now be injected into your classpath. This could severe stability issues, it should be removed if possible. Thanks, -Raz badmod.zip

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.