Jump to content

Would I tick an inventory that is player dependent on the server or client?


Mecblader

Recommended Posts

I have a custom furnace that is setup similar to the way that the crafting table is setup, in that there is no Tile Entity to store the data on to. When you right click on the Block it creates a new instance for every player. My question is that would I tick the update method in my container on the server side or the client side. I ask this because the container is dependent on the player.

Don't be afraid to ask question when modding, there are no stupid question! Unless you don't know java then all your questions are stupid!

Link to comment
Share on other sites

You should do that on the server side.

If you does that in client side, then a cheat client came to possible, which is very dangerous for servers.

So, you can specify the current state of the container for each player.

You can get the GUI information from the client by packet, and do tick process using that.

I. Stellarium for Minecraft: Configurable Universe for Minecraft! (WIP)

II. Stellar Sky, Better Star Rendering&Sky Utility mod, had separated from Stellarium.

Link to comment
Share on other sites

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Announcements



×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.