Jump to content

Tamaized

Forge Modder
  • Posts

    3
  • Joined

  • Last visited

Converted

  • Gender
    Undisclosed
  • Personal Text
    24/7 Lurker

Tamaized's Achievements

Tree Puncher

Tree Puncher (2/8)

0

Reputation

  1. Yea I figured out fairly quick that the offhand and first slot of the hotbar were both slot 0, I did not however know about the armor bit. Thank you.
  2. No idea why I didn't think of this before, I'm already using the onUpdate method in the Item to check if the capability is "dirty" or needs its data to be sent. onUpdate actually gives me the slot id the stack is in so I can just use that to update that specific slot on the client.
  3. So how would one go about syncing the values of a capability attached to an ItemStack from server to client? I need these values to display the durability bar for the stack and for the addInformation method. The problem I'm having with packets is I don't know how to send this data to the specific stack unless there's a way to track the stack with an id or something that i'm unaware of.
×
×
  • Create New...

Important Information

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