2

I want players in my Minecraft world (Bedrock Edition) to be able to use the function command without being given operator permissions. Is this possible through the use of behaviour packs or commands? Is it possible at all?

2
  • 1
    Does MCBE even have functions? I thought it had no datapacks. Anyway, I am pretty sure (without ever having played MCBE) there is no such permission system. MCJava has /trigger, but apparently not MCBE, according to the wiki. So you probably need to do custom triggers, like dropping a specific item, jumping five times, etc. Nov 19 '19 at 18:56
  • 1
    @FabianRöling MCBE does have functions using add-ons. But you're right in that there is no command like /trigger. Nov 21 '19 at 10:53
0

So you probably need to do custom triggers, like dropping a specific item, jumping five times, etc.

You could run a function when a player drops a specific item, with a repeating and always active command block. The command would be

execute @e[type=item,name=<name of item in quotes>] ~~~ function <name of function>
  • Replace <name of item in quotes> with the name of the item you want to detect the drop of in quotes.
  • Replace <name of function> with the name of the function that you want to run.
4
  • 2
    That’s not gonna work. The name has to be set to the localized name, like “Diamond Sword”
    – Penguin
    Dec 2 '20 at 17:57
  • @Penguin So how would I edit my answer so it does work?
    – EmojiMaker
    Dec 2 '20 at 18:01
  • 1
    @Pengiun would I say <Name of item in quotes>?
    – EmojiMaker
    Dec 2 '20 at 18:02
  • yes! Something like that.
    – Penguin
    Dec 2 '20 at 18:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.