Transporter cannot take from Barrel [1.20.1]
Johannason opened this issue ยท 9 comments
Describe the bug
Foliot Transporter cannot extract from barrel
To Reproduce
That's the whole report, really.
I had an input barrel, a transporter, a crusher, a janitor, and an output barrel.
The transporter cannot extract from the barrel, whether top face or side face.
On replacing the barrel with a chest, transporter had no problems.
(Janitor can deposit in barrel just fine)
Expected behavior
A barrel is just another type of inventory block, I don't know why a transporter wouldn't be able to take from it.
System (please complete the following information):
- Occultism Version: occultism-1.20.1-1.116.1
- OS: Windows
- Minecraft Version: 1.20.1
- Modpack Link and Version, or list of mods: 57 mods in total, none of which should alter barrels or chests.
- https://www.mediafire.com/file/yxkvudmlyqkqqtj/1.20.1_MNA.zip/file
Can you re-test this? @GaeaKat tried to reproduce the issue and for her it could add and remove items
Tested with vanilla barrel and chipped barrel varients added using the modfiles provided. Either way the transporter was able to access the contents, though it is worth noting it didn't animate the barrel opening
Bug re-tested and still extant. Maybe something about the placement of chalk mark or sign causes him to assume the barrel is blocked?
Testing that... and confirmed. For some reason an adjacent chalk mark prevents access to the barrel on that side.
forge-1.20.1-47.2.20
Am conducting more tests with extraction face and direction with interesting results, will add when completed.
Transporters can extract from a Barrel surrounded by Chalk if they are approaching from the North or West side.
If they are approaching from the East or South, a Chalk Mark on that side prevents them from accessing the barrel.
In my main world, the Chalk Mark is blocking the South side.
Ok Now I can reproduce the error also! This feels like it is going to be a weird one.
I have located the bug as within https://github.com/klikli-dev/occultism/blob/version/1.20.1/src/main/java/com/klikli_dev/occultism/common/entity/ai/goal/ExtractItemsGoal.java#L162-L177 this function.