Search found 2 matches

by Perxescu
Mon Jan 13, 2020 21:38
Forum: Modding Discussion
Topic: Is it possible to get callbacks from a specific node?
Replies: 5
Views: 210

Re: Is it possible to get callbacks from a specific node?

Thank you for your reply. So as I've suspected it basically boils to either invoke a check on surrounding blocks every time a stone node is destroyed (suboptimal), or use node metadata to store a reference to a core node in every multiblock structure while also storing a list of every multiblock mem...
by Perxescu
Sat Jan 11, 2020 12:11
Forum: Modding Discussion
Topic: Is it possible to get callbacks from a specific node?
Replies: 5
Views: 210

Is it possible to get callbacks from a specific node?

Hello, I have a question regarding checking validity of multiblock structures. Say we are making a TerraFirmaCraft-inspired forge structure. We need then a way to get notified when any of surrounding stone blocks gets destroyed so we can immediately destroy forge. Here what comes in mind: 1. We coul...