Advanced-Rocketry / AdvancedRocketry

Space mod for minecraft
http://arwiki.dmodoomsirius.me/
MIT License
216 stars 274 forks source link

Multiblock Customization #395

Open mallrat208 opened 7 years ago

mallrat208 commented 7 years ago

Current Multiblocks check their validity based on an an array in the TE of the multiblock. The array contains each layer of the structure as well as the block required at which position as it relates to the location of the multiblock controller.

For example the massive one for the Observatory; https://github.com/zmaster587/AdvancedRocketry/blob/master/src/main/java/zmaster587/advancedRocketry/tile/multiblock/TileObservatory.java#L38-L68

It would be very useful if it were possible by config file to define the filler blocks used in the construction of the multiblocks. I wouldn't say allow any given block to be replaced, but have all instances of that particular block be changed. So all the Stone layers could be changed to A, all the Iron Block/Power/Blah could be B, you could require Quartz Glass instead of Glass.

zmaster587 commented 7 years ago

I defiantly think some of the machines could benefit from this. I don't see any way most of the smaller machines would benefit from this, but I could see a few of the larger machines (observatory, railgun, terraformer, laserdrill) getting some use.

Expanding this further, I see no reason why there wouldn't be a way to even specify the machine layout from a config as a far future addition.