Jump to content

[1.19.2] update capability value from client side to server side


perromercenary00

Recommended Posts

i got this question
coze i see that capabilitite values automatically from server side to client side 

but when i was making the briefcase i notice than inside the menu gui its update the capability values form the local side to the capability in the server side 

 

is inside the capability system a funcion to force an update adnd send the values from the clienside up overwrite the value sin the serverside of a capability ? 

and if it is how do i use it ? 
 

 

 

 

Link to comment
Share on other sites

12 hours ago, perromercenary00 said:

coze i see that capabilitite values automatically from server side to client side 

They do not, you need to create a packet. Capabilities do not automatically do anything.

12 hours ago, perromercenary00 said:

is inside the capability system a funcion to force an update adnd send the values from the clienside up overwrite the value sin the serverside of a capability ? 

Create your own. A capability is just like any other java object: if you do nothing with the data in it, nothing will happen.

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.



×
×
  • Create New...

Important Information

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