Closed aiqueneldar closed 9 years ago
A new machine should be better. One of the sides where blocks will be output.
Should it support all place-able blocks or only custom blocks (something like a "horizontal ladder")?
On the topic "which blocks should be supported" I would go with config. In my humble opinion I would go with custom "horizontal ladder" as default and have an option in the config to support all types of place-able blocks.
Basic functionality as of now. It can place and retract opaque cubic blocks in 6 directions. Still working on some registry/api for registering allowed blocks (and texture).
Maybe fiddle some with range upgrades?
At the moment I've put max extension limit at 16 blocks. Add another slot in GUI for extender item - adds 4/8/16/32/48 range or something like that, depending on what item is inserted?
More work with validating blocks. It's more dynamic now (use ItemBlocks) when it comes to placing other mods blocks - but bugs with ItemBlocks that get different metadata after placed. Torches and Minecraft machines (Furnace/Dispenser/Dropper etc.) are some examples. It will place the blocks but not retract them as the metadata has changed.
Think I found a bug. Create two trenches with 1 block at same level. Output a bridge over both trenches. Change block in dispenser (if bridge is Block A, change so Block B is in dispenser while bridge is out). Retract bridge will make the outer blocks drop until it reaches middle of first trench closest to machine. There it will just stop. Not sure if this is intended, but the machine now behaves differently depending on where the blocks are placed when retracting.
Also, after triggering this behavior. I can't get the builder to retract the last Block A from world again. If I have Block A in builder it will continue building from those block onwards. And then retract until it reaches those last Block A from mentioned bugg. It will then stop working all togheter and bridge will not retract completely. Not sure if this is intended?
I'm not sure what you're trying to do. I can:
If you have obstacles with the same block as you're trying to build a bridge with then yes, it will skip blocks and when retracting it will leave the same amount of blocks left that the obstacle were made of (but closer to the machine). This is kind of(ish) expected behaviour, because of the canPlaceBlock logic it will not differ from blocks placed by itself or blocks already placed in the world.
Should bridgemode be an possibility with the dispenser? If so, how would it work, and should there be a new bride block to be used with that?