Plethora Peripherals

Plethora Peripherals

3M Downloads

Kinetic Augment .swing() method on player NIs should work with digging blocks as well

Kan18 opened this issue ยท 0 comments

commented

The kinetic augment .swing() method simulates a left click with the held item. When the kinetic augment is in a neural interface inside a player, it is unable to left-click and dig blocks, since there is no fake player (

return FutureMethodResult.result(false, "Nothing to do here");
). Adding this behavior would be useful for automatically digging with a player (for example, using a fortune/mending pickaxe to automatically mine diamond ores).

I am not sure if this is a bug or feature request; players not being able to use .swing() to dig blocks was in the Forge version of Plethora, and a commit by @SquidDev (SquidDev-CC/plethora@7ffafd6) seems to clarify that this behavior was known at the time:

.swing() can be used with normal players, albeit only when attacking