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

  • Author

Found the Trouble. The ICrafting function is using the Packet105UpdateProgressBar when the server is used. And that sends infos only via Shorts instead of The integer. So how can i fix this now?

  • Author

Question:

Is it possible to send a packet from a container to a container?

 

And if yes! how do i make it?

 

  • Author

thanks. I tried already.

 

But i have another idea. I split it down into parts and put it later together.

  • Author

We are talking about a 32k integer. Its not possble to math it down and set it together at the other side without getting wrong informations!

 

I already had another idea but that does not work too.

There is only two ways! Make a custom packet for it (i tried but it was wrong and i have no clue how i can do it)

Or forge change Vanilla MC in 1.7 then people limited at the 1.4&1.6 xD

 

  • Author

Hmmm good idea. A question how do i make out of a string a short that can be compiled back to a string and then to a Short again.

 

When you tell me ideas please read the container Functions and then where they get used.

Also the networkpacket (packet 105) cast the integer to a short. So i have to make a custom packet else i only stay at 32k.

 

 

se .toString() to get the String then use Short temp = Short.parseShort(InputString);

  • Author

Die7. i hope its ok that i write your name in this case (easier to write with phone)

 

Thanks i hope with that i can shrink down a full integer to a short and make it back to a full Integer on the other side.

I am still not good enought in java. But hey i am not old so i still can learn it.

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.