Test for Minecraft?

Yo
3

Hi, does someone know how to test in Minecraft on the Bedrock Edition with the testfor command whether a player is holding a certain item in his hand

gl

In the Java Edition it works with NBT, but in the Bedrock Edition there's no, so I think that it is not possible on the Bedrock Edition without plugins / mods: /

That would be the command for the Java Edition:

/ execute if entity @a [nbt = {SelectedItem: {id: "minecraft: ITEM"}}]

Yo

Short question what are plugins

gl

It's like mods, but they don't add completely new things, they simplify the game or add something to the game that is already there

Plugins can only be installed on e.g. Spigot servers