bridge.
bridge. copied to clipboard
Functions and game rules: Education Edition
Summary I am running a function that is supposed to change the game rule settings like weather cycle to off, pvp off, commands off etc. And when loaded, minecraft will give me a message stating behavior pack cannot be loaded, or when i search for the function with /function in game the created function does not populate.
Also in bridge v2 what does the Blue T next to the project name represent?
To Reproduce Steps to reproduce the behavior:
- Go to 'function, type in the game rules,
- Click on 'save.'
- Scroll down to '....'
- Observe result
Observed behavior See above Expected behavior Functions should populate atfter entering /function in game
Platform (please complete the following information):
- windows 10
- Education Edition 17.3
Additional context If i make another function that clears ender pearl, or invisibility postions, those functions will activate and will populate with the/function command
To make a function run only once and then terminate, as is needed when altering gamrules, do i need to leave the function out of the "values" on tick.json file?
Are you using bridge. v1 or v2 to create the function?
FYI: You should not list functions which should be manually run within the tick.json file as that will run your function every game tick (https://wiki.bedrock.dev/commands/mcfunction.html#running-functions-through-tick-json)
Hello,
Thank you for your reply, I am using v2 here are some screenshots of the setup. Something else I noticed is the icon of the world turned grayscale after one of the test usages I did.
On Mon, Jul 25, 2022 at 3:29 PM solvedDev @.***> wrote:
Are you using bridge. v1 or v2 to create the function?
FYI: You should not list functions which should be manually run within the tick.json file as that will run your function every game tick ( https://wiki.bedrock.dev/commands/mcfunction.html#running-functions-through-tick-json )
— Reply to this email directly, view it on GitHub https://github.com/bridge-core/bridge./issues/426#issuecomment-1194523143, or unsubscribe https://github.com/notifications/unsubscribe-auth/ATNYUW4GUQTBRQSEKMCBRETVV3TK7ANCNFSM54QMLRHA . You are receiving this because you authored the thread.Message ID: @.***>