PneumaticCraft: Repressurized

PneumaticCraft: Repressurized

43M Downloads

Right click Drone command does not right click blocks yet.

MineMaarten opened this issue ยท 5 comments

commented
commented

By "right click blocks", we're talking about the drone right-clicking with a block item in its slot 0, to place the held block?

I guess one question to be asked is: under what circumstances would you want to use the "right click" puzzle piece rather than "place block" puzzle piece if placing blocks is what you want to be doing?

(Note: the "right click" piece currently does work for planting seeds / nether wart / etc.)

commented

No, it's mainly about actually right clicking a block, I tested for example right clicking a lever to let it toggle redstone state. But it would also have to be able to wrench stuff for example.

commented

Now it's behaving much better! I think this is solved (chest rotation with various wrenches is working, and blocks can even be placed), but can you do some testing too @MineMaarten ?

commented

OK, made a few little changes. Working much better now, but maybe not 100% yet.

What works:

  • Drone can flip a lever
  • Drone can get a TE crescent hammer and wrench a TE tank - works without sneak (toggles tank), and with sneak (drops tank as item)
  • Drone can get a vortex cannon and fire it at an air block (until vortex cannon is empty)

What does not work:

  • Getting a pneumatic wrench and trying to rotate a chest (either vanilla or iron chest). Block#onBlockActivated gets called and appears to return success, but the chest is not rotated. With iron chests nothing happens, with vanilla chests the chest lid pops open.
commented

Awesome, works great now!