TheMisterFish / Fabric_OfflinePlayersReworked

Allows a user to logout, leaving a fake player that loads the chunks
Creative Commons Zero v1.0 Universal
1 stars 0 forks source link

[Feature] Break Action #30

Closed Fire0nTop closed 1 month ago

Fire0nTop commented 1 month ago

Is your feature request related to a problem? Please describe. Just an added Action

Describe the solution you'd like The Command /offline break feature

Additional context

Versions

wetrustinprize commented 1 month ago

Hey there! I was needing this feature too, but if we read the mod code it already handles block breaking.

After some investigation, we've discovered that the way to break blocks you just need to attack:0, which will result in holding the M1 because there is no delay between attacks.

I think this is nice to be documented in the mod's description, but there is no need to implement it in the code.

TheMisterFish commented 1 month ago

I like the idea of adding /offline break which will do the same as /offline attack:0.

TheMisterFish commented 1 month ago

@Fire0nTop @wetrustinprize I've added it in 1.0.8 You can also use it with interval, it will break the block until it is broken before resetting the interval.

wetrustinprize commented 1 month ago

awesome! Thanks for the implementation :)