question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Disable-OffHand number keys

See original GitHub issue

I found a bug with ‘disable-offhand’ When we put a locked item on the hotbar and hover the mouse over the slot from this hand, we can put it there.

My Configuration: disable-offhand: enabled: true worlds: [] whitelist: false items: [diamond_sword]

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
kernituscommented, Apr 12, 2017

I see now. Can you check if the problem still occurs in build #69? I went for the nuclear option and just stopped being able to move items with number keys into the offhand slot while the module is enabled.

0reactions
kernituscommented, Apr 15, 2017

When you try to move items into the offhand slot, the event the plugin is listening for tells the plugin that you are holding air, there is air in the slot you’re putting the item in, and the whole inventory is null. Go figure. That means I can’t check what item is getting transferred so I just blocked all items.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Tutorials/Dual wielding - Minecraft Wiki - Fandom
Category Use Main Hand Off‑hand Basic Eating Empty/ Tool/Weapon Food Basic Teleporting Empty/ Tool/Weapon Ender Pearl/Chorus Fruit Combat Blocking Sword/Axe Shield
Read more >
Cant use offhand in minecraft. - Microsoft Community
I recently downloaded minecraft windows 10 edition and can't put any items, but shield in my offhand. Can you help, please?
Read more >
Offhand Weapon Guide : r/darksouls3 - Reddit
Normally in the offhand, a weapon will block with L1, and use the Basic Attack (R1 in the Right hand) with L2. Holding...
Read more >
Solved - Disable moving items | Bukkit Forums
If a player presses the 5 key over the item it will put the item in the inventory without cancelling. If there is...
Read more >
The Offhand Mod - Mods - Minecraft - CurseForge
Pressing left/right click and the Alt key (configurable) allows you to reverse an action and swing a bow, block a sword, etc. The...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found