McJtyMods / RFTools

A set of blocks and items to help with RF in general. Currently contains a Dimension Builder, Teleportation System, Shield System, RF monitor, an RF network debug tool and an automatic crafter
MIT License
228 stars 88 forks source link

[Bug/Question] Builder don't respect inventory order? #1883

Open ReiDaTecnologia opened 6 years ago

ReiDaTecnologia commented 6 years ago

Issue description: Hello, i'm trying to automate CompactMachines and for it i'm using the Builder with a Scan Shape Card, but i'm having a annoying issue... In my Test World, when my AE2 put the items in the chest (For the compactwall recipe) sometimes the Builder put the Redstone first breaking all the automation and also doing a really weird sound, like, it try to place the redstone and the iron at the same? but as it can't, it just keep trying until is out of redstone, this is destroying my automation, i really don't know another way to automate it 😭 Screenshot Steps to reproduce: Do a AE2 system or RS (maybe it will have the same issue) and do a pattern for the Interface in the chest above the Builder, do a scan of the CompactWall recipe using the Scanner and put it in the builder and request it, maybe you will need a few trys (Hopefully will happen with you because maybe i'm just unlucky xD) and you will see what i saw :/

Versions:

Possibly incompatible mods and versions: OptiFine.

Relevant logs, if any: N/A (Tell me if you need it)

McJty commented 6 years ago

I don't fully understand what you are doing but if the chest only has redstone then it is unavoidable that the builder will put that redstone first since it has nothing else it can do. Even if the supporting blocks aren't there. You have to make sure all needed materials are in the chest before building

ReiDaTecnologia commented 6 years ago

Yes, the chest have the needed items but for some reason sometimes it put the redstone first and as the redstone is in the same location of the iron block it can't place it, even putting the iron block in the first slot and the redstone in 2 slot for some reason it use the redstone instead of the iron block, mayble is because the builder is always trying to place it? and in the time that i request, it is checking the 2 slot?

McJty commented 6 years ago

Redstone at the same location of the iron block? That's not possible. Redstone is a block in itself and you cannot place it in the same location as another block. I'm still very confused about what you're trying to do though

ReiDaTecnologia commented 6 years ago

I will do a video really quick, let me launch the game.

ReiDaTecnologia commented 6 years ago

https://youtu.be/r2v2ykeCL6g Here is the video. As you can see, in the first try it work as it should but in the next one don't. I show as well my automation setup, redstone system to activate the builder only when the first crafting is complete (The miniaturization send redstone signals depending the % of completion, 15 being 99%). I hope it is enough :/

ReiDaTecnologia commented 5 years ago

Tested it in the latest version with only the necessary mods to automate the compact machine and it still happens.

Famous5000 commented 5 years ago

@ReiDaTecnologia What could be happening is that the builder block is unable to place it properly because of where it is on the scan. It scans from top-bottom, and what you could try doing is doing a redstone pulse after the items are inserted so that the builder will re-scan. That might solve your problem, though if you're able to do a compound "scan" then that may help a bit better.