Open Kan18 opened 1 year ago
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 (https://github.com/SwitchCraftCC/Plethora-Fabric/blob/f3dbb16696dd8348918ea2743ace98a9dcc63c0a/src/main/java/io/sc3/plethora/integration/vanilla/method/EntityKineticMethods.java#L117). 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 (https://github.com/SquidDev-CC/plethora/commit/7ffafd66a0a343b362313dc7801cb88a60e7b388) seems to clarify that this behavior was known at the time:
.swing() can be used with normal players, albeit only when attacking
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 (https://github.com/SwitchCraftCC/Plethora-Fabric/blob/f3dbb16696dd8348918ea2743ace98a9dcc63c0a/src/main/java/io/sc3/plethora/integration/vanilla/method/EntityKineticMethods.java#L117). 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 (https://github.com/SquidDev-CC/plethora/commit/7ffafd66a0a343b362313dc7801cb88a60e7b388) seems to clarify that this behavior was known at the time: