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

Is it possible for a clientside mod to read chunk NBT data, or is the data only accessible from the server? Is the chunk data on the client synced with the server chunk data? Does the client even know about the chunk data?

 

This goes for most other things, as well. How do I know what code the client has access to? Is it true that if there isn't a world.isRemote check, the client has full access to reading game logic code that you would expect to be on the server?

Since Minecraft's big bandwidth hog is the transfer of chunks from server to client, I am confident that chunk data exists on the client (at least within viewing range, once it has loaded). I think it was the presence of all that data that made xray cheat mods possible.

 

The server does update chunk data, though I suppose some are updated more frequently than others. One way to see an update is to measure the lag between when you mine a block on your client and when you see its drops appear -- there's a round-trip communication with the server in between. If you have ever lost a connection, you may have had the experience of mining blocks and blocks without any drops appearing.

 

The debugger is a powerful and necessary tool in any IDE, so learn how to use it. You'll be able to tell us more and get better help here if you investigate your runtime problems in the debugger before posting.

Basically - what client sees, client has.

Note that some of TileEntities are not always synchronized to client (their data). Some other stuff too.

 

How do I know what code the client has access to? Is it true that if there isn't a world.isRemote check, the client has full access to reading game logic code that you would expect to be on the server?

 

http://www.minecraftforge.net/forum/index.php/topic,33918.msg178740.html#msg178740

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.