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, 2019 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, 2019 at 10:53

1 Answer 1

-1

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, 2020 at 17:57
  • @Penguin So how would I edit my answer so it does work?
    – EmojiMaker
    Dec 2, 2020 at 18:01
  • 1
    @Pengiun would I say <Name of item in quotes>?
    – EmojiMaker
    Dec 2, 2020 at 18:02
  • yes! Something like that.
    – Penguin
    Dec 2, 2020 at 18:08

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .