Main Hand Item Detector

Main Hand Item Detector

By TinedPakgamer Published 30 Apr 2020 · Updated 4 May 2020
4.5

Sometimes you might want to give player an armor when they hold a sword, or you might want to give them fireworks when their hand is empty. But you are unable to do this. Don't worry this addon adds brings commands for detecting what the player is holding in mainhand.

By using this pack you get the functionality of detecting items in main hand.

Currently It supports detection of swords and empty hand.

It also supports detection of whether the player is on ground, is sneaking, is dead or not, is sleeping

You can see the video to see how it works. If you like the pack let me know I will add more items in it.

This addon is for mapmakers, command block experts, etc. 

Support me by subscribing my youtube channel tinedpakgamer on the way

Select version for changelog:

Changelog

Following features are added in detection:-

  • pickaxes
  • axes
  • bow
  • crossbow
  • potion
  • splash potion
  • lingering potion
  • armors
  • sneaking
  • dead players
  • sleeping
  • player on ground

Installation

Supported Minecraft versions

Installation Guides

1
This addon is useless now because of the new `Hasitem` argument added in 1.18.30.
1
The link is broken it keeps saying “404. That’s an error.

The requested URL was not found on this server. That’s all we know.”.

Could you fix that?
1
yoo i really need this but the link isn't working can you update the link so it works??
1
I want to use it but it says it is an unexpected url can I have your discord and you can send me a link to the media fire
1
did you get the link??
1
It's very greatttttttttttttttttttttttttttttttttttttttttttttttttttttt!!!!!!!!!!!!!!!!!!!!!!!!!!!
1
bug I can't use this link
1
for more about addons search m centres minecraft on youtube and join m centres discord
1
Very cool. BUT I'm making an addon that will need something like this. Is there a way to detect specific items and armor if worn? If not, can you please try anyway? I'm really excited about making my addon.
1
that is possible in latest mc betas. wait for it to release
1
you probably stopped developing since your YT channel has been deleted. so i guess i wont be seeing a reply or whatever. ah well
1
looks promising however the download link does not seem to work? due to requiring permission to download it (it asks user to sign in and request acess)

Also may i suggest using mediafire which is common for developers.
1
you probably stopped developing since your YT channel has been deleted.
1. Can u add clocks, snowballs, sticks and diamonds
2. Can u add it so it detects if it has been renamed or enchanted plus 1.16 support?
1
for an updated version search my blog tinedpakgamer blogspot
Blog?
1.16 didn't add much as far as commands go. They didn't even include the attributes command they added this update, so could you update this to work with more items? Also liked the top comment's burning and sunlight idea
Here's a suggestion this idea might not be possible to add but if it is please add these

1.If you're burning you'll get the tag "Burn" or "Burning" if you're not burning it will remove it

2. If you're in sunlight, it will tag you "Sun" if you're not in sunlight it'll remove it
Guest-9172020047 May 19, 2020 at 4:42 pm
Not working I think its corrupted
It says it's not a valid zip archive