Minecraft wiki entry for Development_versions, associated text: Animations and events defined in Behavior Packs can now run commands that require cheats without the player enabling cheats (such as setting certain rules with the /gamerule command).