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

So basically dedicated server loads whole game from very bulky config, puts that together into objects and loads textures (e.g 32x32 image for "warrior" class) then sends it to client that connects (once per session, on login).

Note: By "loads whole game" I only mean my stuff far-related to normal MC (so no block and stuff that has to be initialized on mod startup).

 

Till now I was doing it by simpy sending huge-ass packet cargo containing NBTTags and decoded it on client. Problem is that it may take some time (sometimes even few sec in which case it spams in terminal)

 

Question:

Is there a way to send data (that is not referenced to EntityPlayer) using packets? I mean before EntityPlayer constructing so basically somewhere near client-server handshake?

 

OR

 

Maybe it could be sent inside constructor (as if entityToBeConstructed == you), so in that case question - how would sending bunch of packets affect player constructing?

 

Problem is - I want Client to be able to use loaded data right after you log in, so it must be done loading before "player logged in".

1.7.10 is no longer supported by forge, you are on your own.

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.