Hello,
I use Modloader and Forge and I can't seem to find a way to attribute new flags to blocks and check those flags when a player tries to interact with the blocks.
Basicly, I'm trying to make a cuboid protection mod without editing any base class.
So yea, in fact, I'm trying to attribute ownership to blocks and check for ownership every time a block is clicked. For example, lets stay a player enters an area that is protected and tries to use a button, or destroy a block, it would check if the block is owned and either block or allow the interaction.
Since Forge seriously lacks any form of documentation, I really cannot wrap my head around this.
All I really need is a way to receive all blocks interaction before it occurs without editing any base class.
For the rest, I can probably use custom save data.
Any idea on how I should approach this issue?