Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
tutorial:modding_onefour [2014/10/14 12:43]
sangar [Added and renamed methods in existing interfaces]
tutorial:modding_onefour [2015/01/14 22:40] (current)
Line 107: Line 107:
   Moved to `li.cil.oc.api.internal.Robot`. This is an effort to keep all interfaces that are or should be implemented by tile entities in one package, for clarity.  ​   Moved to `li.cil.oc.api.internal.Robot`. This is an effort to keep all interfaces that are or should be implemented by tile entities in one package, for clarity.  ​
   //How to adjust//: update imports.   //How to adjust//: update imports.
 +
  
 ### Added and renamed methods in existing interfaces ### Added and renamed methods in existing interfaces
Line 155: Line 156:
   Changed signature to `receivePacket(Packet packet, WirelessEndpoint sender)`, which is much more versatile.  ​   Changed signature to `receivePacket(Packet packet, WirelessEndpoint sender)`, which is much more versatile.  ​
   //How to adjust//: change signatures, compute distance when needed.   //How to adjust//: change signatures, compute distance when needed.
 +
 +- `li.cil.oc.api.prefab.ManagedEnvironment.node`  ​
 +  Made private. This change was made to ensure it can be overridden by overriding `node()`.  ​
 +  //How to adjust//: use `node()` to access, use `setNode(Node)` to set.
 +
  
 Removed Removed