Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functions and game rules: Education Edition #426

Open
teacher45 opened this issue Jul 24, 2022 · 2 comments
Open

Functions and game rules: Education Edition #426

teacher45 opened this issue Jul 24, 2022 · 2 comments
Labels
Bug Something isn't working

Comments

@teacher45
Copy link

teacher45 commented Jul 24, 2022

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:

  1. Go to 'function, type in the game rules,
  2. Click on 'save.'
  3. Scroll down to '....'
  4. 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?

@teacher45 teacher45 added the Bug Something isn't working label Jul 24, 2022
@solvedDev
Copy link
Member

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)

@teacher45
Copy link
Author

teacher45 commented Jul 26, 2022 via email

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants