Closed jredfox closed 6 years ago
might actually need to sync it with silkspawners in some way difficult to fix since the tile entities are not my own. Since yeah you can place it nothing happens but, what happens when you setblock this issue might still occur? I don't know maybe there is no fix on silkspawners side and when people use setblock with dungeon tweaks they should use the nbt required else very slim chance it might freak out.
Well based on capabilities and since structures can override existing loaded chunks there is no set way in fixing it via setblock the best I can do is on block place and on block break set hasScanned to true. will solve this on what I can actually fix since dungeon tweaks is too dynamic. Anyways your scan radius would have to be really high anyways and would have to be intended in some way if it's setblock via command but, I will be fixing it up on the other two to sync fixes as best I can. If that behavior occurs it's because the user didn't put the required new nbt for hasScanned and it could even be intended so I will fix the other two but, have to leave the setblock alone
newer version of silkspawner patches this
Issue: capability is 0 for hasScanned if summoned the spawner in dungeon tweaks user goes out and has a higher scan radius then 1-2 user goes back because he placed his spawner in a mineshaft there is a 40%+ chance it has changed to a cavespider
How to fix: have a blockplace event via server low priority and have the capability being 1 always when placed. since it fires after silkspawners and the chunk has scanned will always be true once placed the above issue will never occur.
also on pickup on silkspawners side remove the capability tag so they stack
Issue 2 caused by not having a block place event: place block on ground and have silkspawners mine it. hasScanned and !hasScanned will be two separate stacks if itemstacks are still working properly.