String Replaces Blocks
Dolinmyster opened this issue ยท 11 comments
When a Chance Cube is used that spawns the string it will replace blocks completely deleting them.
Well, it destroys the witherproof boxes people build around their chancecube openign altar?
It promotes griefing other peopel's bases?
It allows going through protected or warded blocks?
None of that is really good :V
As much as I respect your work Turkey... Yes, there's a problem with it. Blu finished his response before I could finish mine though.
I would not recommend the mod on servers because of that reason. There's nothing I can do about it because if I dis allow the blocks to be able to remove and replace blocks then half of the rewards are now pointless and would do nothing. The cubes should not replace any block that is unbreakable (like bedrock and such), but that's about all i can do.
As far as protected/ warded blocks go. There's no singular system for checking this. I can add mod hooks, but that'l take time and there's no guarantee I will be able to keep them all up to date and 100% verified.
Maby it's time for the modders to make a singular system for this? It's something that have been in need for a long time! :)
This isn't the first time someone has asked for a way to incorporate a protection based system into the mod, but a strong solution was never found. I have been thinking and I may have a solution, but it will still require mod hooks and there still are some things that would need to be fleshed out. Suggestions are welcome though
Maybe IMC messages would be a good start?
Keep an internal list of ItemStacks (blocks+metadata) that musn't be replaced, and allow other mods to send IMCs to you to add to that list.
It's the most basic form of compat and doesn't actually require other mods to implement any API of yours.