Miner creating cobblestone hallways in mid air
SulpherStaer opened this issue · 11 comments
Minecolonies version
version 1.11-0.6.3282
Expected behaviour
- When mining at level 0, the miner should stop mining when encountering open air areas, or at least not cover them with cobblestone.
alternative behaviour
- When mining, and encountering an area exposed to air, only build the floor of the mine (preferably wood, to simulate bridges of the naturally spawned mine shafts), do not put up walls or a ceiling.
Actual behaviour
- The miner exited the mountain, and started building a cobblestone mine pathway across a shore / lake, into the water, instead of stopping.
alternate explanation of behaviour
- The miner encountered full airblocks where it wanted to mine. It then proceeded to build a full mine path out of cobblestone, hovering above the water.
Steps to reproduce the problem
- Build a colony
- Build a miner ontop of a raised area near a shore
- Have the miner mine at level 0
- Observe strange behaviours when breaching the surface
That really depends imo.
IMO he should by any cost try to mine down and fill up air with cobblestone.
I am not talking about the mineshaft itself... I'm talking about when it's branching out. When it is branching, it isn't going down. It's going sideways.
And, at level 0, going sideways, eventually will have you breach the surface if you are on a mountain, or hilly terrain.
I have already fixed the weird bit, but I should have made a screenshot. It looked extremely dumb, the floating cobblestone mine across the water.
Yeah that's still a problem to detect.
Maybe if 9*9 is water or air he shoudl break. But should he break on a ravine or tunnle or similar?
Ravines and tunnels are obviously different. Though I think, it would already be a very good fix that when there's air blocks above where he is mining, he should not put up cobble walls and ceilings, but only put down wood as a 'bridge'. (similar to how it happens in generated mineshafts crossing ravines)
I think, having the miner stop when encountering air or water would break him at lower depths. So, my suggestion would be to have it continue when exposed to the sky, but only use wood as a pathway, and skip building walls and ceilings. (still plonk the supports, as that just looks nice imo)
I didn't think about lava. I don't have a suggestion for that. I haven't seen the miner encounter lava yet either, so I do not know how it handles it at the moment.
Lava only is a problem at certain levels when mining. Maybe have it not use wood to bridge when down a certain Y level. I mean, how does it detect lava now to not build supports?...
Not using wood below a certain Y is certainly cheaper than scanning for lava.