Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
Kan18 opened this issue Apr 8, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@Kan18
Copy link
Contributor

Kan18 commented Apr 8, 2023

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

@Lemmmy Lemmmy added the enhancement New feature or request label Apr 9, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants