Search the Community
Showing results for tags 'xy coords'.
Hey guys, I'm hoping there's a quick fix to this problem. Right now I'm making a mod that uses getModData to store a "charge", and access this tile from other blocks("consumers"). There's also some other mod data i'd like to reference as well. I'm having some trouble referencing the tile or object that I want to store the charges. There's two ways I could think of doing it: 1.)Referencing the tile the object that stores the charges is on by X and Y coords. Problem is I'm not quite sure how to pull that data from a tile. 2.)Referencing the instance of the "charger" item in question using it's