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.

yyk419476391

Members
  • Joined

  • Last visited

  1. but there's no place to moving hud,there's best place for hud
  2. chat messages always cover my custom hud,i want move it up,but how?
  3. if (mc.theWorld != null) { String text = "Hello!"; int width = mc.fontRendererObj.getStringWidth(text); mc.fontRendererObj.drawStringWithShadow(text, mc.displayWidth/2-width/2, 0, 0xFFFFFF); } here's code
  4. i want to draw a string in center when player is playing but it won't draw in correct location,it always draw in right,when i resize game to small,it draw in correct location
  5. thanks,i override renderUnicodeChar,and it works
  6. i have a unicode font package,but how to use it to render text in Minecraft?
  7. thanks,i found it at Minecraft class
  8. thank you,but how to get a NetworkManager instance?
  9. mod will send a packet to server when player join,but server can't recevie packet here's code @SubscribeEvent public void joinWorld(EntityJoinWorldEvent e) { if (e.entity != Minecraft.getMinecraft().thePlayer) return; Minecraft.getMinecraft().thePlayer.sendQueue.handleCustomPayload(new S3FPacketCustomPayload("CV",new PacketBuffer(Unpooled.copiedBuffer(VERSION.getBytes())))); LogManager.getLogger().info("Packet Sent"); } VERSION is String type server plugin's code Bukkit.getMessenger().registerIncomingPluginChannel(this, "CV", (String channel, Player ply, byte[] bytes) -> { String version = new String(bytes); getLogger().log(Level.INFO, "Player client version:{0}", version); }); after player join,server doesn't write out client version
  10. but i can't find this class,is this class available in 1.8.8?
  11. i want to get a server's information(players,ping) when not connected but i don't know how
  12. thanks to jabalar i am try to use gradlew to build,and it can start
  13. Use Export in eclipse

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.