Creoii Mod Documentation & Wiki
Lucky Block
Lucky Block
  • Overview
  • Installing Addons
  • Creating Addons
  • Upcoming Features
  • Outcomes
    • Outcomes
    • Advancement Outcome
    • Block Outcome
    • Command Outcome
    • Difficulty Outcome
    • Effect Outcome
    • Entity Outcome
    • Explosion Outcome
    • Feature Outcome
    • Group Outcome
    • Item Outcome
    • Message Outcome
    • None Outcome
    • Particle Outcome
    • Random Outcome
    • Sound Outcome
    • Structure Outcome
  • Parameters
    • Parameters
    • Parameter Index
  • Vec Providers
    • Vec Providers
    • Vec Provider Index
  • Shapes
    • Shapes
Powered by GitBook
On this page
  1. Outcomes

Command Outcome

The command outcome executes a command string in the world.

{
  "type": "lucky:command",
  "command": "/difficulty hard"
}

This outcome changes the difficulty to hard.

Note: While the command outcome can be used to replicate many other outcomes, it is typically ideal to use the other outcomes over the command outcome. Reserve the use of this only for necessary situations. See below for a list of reasons to use it:

  • Modifying game rules

  • Changing the difficulty

  • Executing .mcfunction files

PreviousBlock OutcomeNextDifficulty Outcome

Last updated 5 months ago