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

Block Outcome

The block outcome places a block/blocks in the world.

{
  "type": "lucky:block",
  "state_provider": {
    "type": "minecraft:simple_state_provider",
    "state": {
      "Name": "minecraft:beacon"
    }
  }
}

This simple outcome will place a Beacon in the world.

{
  "type": "lucky:block",
  "state_provider": {
    "type": "minecraft:simple_state_provider",
    "state": {
      "Name": "minecraft:stone"
    }
  },
  "shape": {
    "type": "lucky:cube",
    "size": [3, 3, 3]
  }
}

This outcome will place Stone blocks in the shape of a 3x3x3 cube.

{
  "type": "lucky:block",
  "state_provider": {
    "type": "minecraft:simple_state_provider",
    "state": {
      "Name": "minecraft:chest"
    }
  },
  "block_entity": {
    "id": "minecraft:chest",
    "LootTable": "minecraft:chests/bastion_treasure"
  }
}

This outcome will place a Chest filled with the minecraft:chests/bastion_treasure loot table.

PreviousAdvancement OutcomeNextCommand Outcome

Last updated 7 months ago