ImmersiveMC

ImmersiveMC

683k Downloads

Ranged Grab Button

hammy275 opened this issue ยท 8 comments

commented

Not a replacement, but an option.

commented

Basically, the issue is, when you reach out to grab something, you pull your trigger, but your trigger usually, unless you change your configs, is your mine button. Which then brings the issue of, if you're in creative, you can't do it at all without destroying the area around you. Or if you're in survival and you're holding a tool, you probably are going to break the

commented

I'll add this in for 1.2.2. It honestly shouldn't take too much effort to do.

Note to myself:

The vast majority of the infrastructure for this is already in place. We'll want to do a couple things:

  • Add a cooldown to RangedGrabTrackerClient
  • Add a keybinding for this. Map it to F24.
  • In RangedGrabTrackerClient, check if the keybinding is down or the conditions that we already use. If so, check if selected != null. If that's also true, proceed as normal.
commented

This will be out with version 1.2.2!

commented

Oh
that was fast
roughly when do you thing 1.2.2 will be?

commented

It pretty much depends on #163 at the moment.

If I decide to add it for 1.2.2, I'd guess about a week's time at most. If not, a couple days most likely.

No guarantees on these timeframes, though!

commented

I'm not sure of the point of a lock on indicator?

The moment you point at an item to pick up, you can pick it up (unless you're on cooldown from picking it up in the past, but looking over my code, I forgot to add a cooldown lol). But even if there were a small cooldown, there's no need to "lock on", since you can just pick up the item when you hover it due to how quick the cooldown would in-theory be.

commented

potential idea for future regarding this, why not have an lock on indicator?

like, buttonless, point your hand to the object, wait a sec till particles turn a different color, then do the gesture?

commented

Should be a held button instead of a push. Though leave push in as an option, since people may already be using it