Jump to content

[1.8][SOLVED] IInventory internal synchronization - where?


Ernio

Recommended Posts

So I coded something in past and just learned that apparently IInventories are synchornized interanally? Where that happens and who is receiver (players)?

 

(Digging in interfaces is worst kind of searching)

 

EDIT

I might be wrong about this, but that would mean that something works while it is not supposed to be working ;_;

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

Just to make sure - if someone is NOT looking at container, the IInventory (in TileEntity) still needs to be synchronized separately?

 

and who is receiver (players)?

 

I was interested in code that does that (one I can't find) because I would like to know how vanilla keeps track of changes in IInventory's ItemStacks - is it just scanning all slots every tick for change (like a retarded trol)?

1.7.10 is no longer supported by forge, you are on your own.

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.


×
×
  • Create New...

Important Information

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