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

In 1.7.2 Mojang switched to the netty system. How would I setup a channel? Thanks!

[shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]

My client side needs to periodically report which block each player is currently selecting, and which direction he's facing. In 1.6.4 I used a network mod channel. Now I am contemplating sending a packet through a netty channel.

 

I did the the time server tutorial, so I get the basics of netty now. What I'm wondering is how to discover the address of the server the game is connected to.

Im still learning netty as well, cpw seems to have a grasp on it. And he's written a nice layer on top of the MC protocol that'll let you pass custom information back and forth using standard netty procedures.

https://github.com/MinecraftForge/MinecraftForge/blob/95c12b6c20a456de7c24707388d4cb9cedc1cc44/src/main/java/net/minecraftforge/common/network/ForgeNetworkHandler.java

It would be nice if someone wrote a comprehensive tutorial on the net system cuz god knows I suck at tutorials.

I do Forge for free, however the servers to run it arn't free, so anything is appreciated.
Consider supporting the team on Patreon

  • Author

I will do that in the tutorials wiki section, but till then Ill try to make maybe my own network handler.

[shadow=gray,left][glow=red,2,300]KEEGAN[/glow][/shadow]

Im still learning netty as well, cpw seems to have a grasp on it. And he's written a nice layer on top of the MC protocol that'll let you pass custom information back and forth using standard netty procedures.

https://github.com/MinecraftForge/MinecraftForge/blob/95c12b6c20a456de7c24707388d4cb9cedc1cc44/src/main/java/net/minecraftforge/common/network/ForgeNetworkHandler.java

It would be nice if someone wrote a comprehensive tutorial on the net system cuz god knows I suck at tutorials.

 

See my reply here:

 

http://www.minecraftforge.net/forum/index.php/topic,15403.msg78805.html#msg78805

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.