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

Item Outcome

The item outcome spawns items on the ground.

{
  "type": "lucky:item",
  "item": "minecraft:end_portal_frame",
  "count": {
    "type": "minecraft:uniform",
    "min_inclusive": 2,
    "max_inclusive": 6
  }
}

This outcome spawns between 2 and 6 End Portal Frame items on the ground.

{
  "type": "lucky:item",
  "item": "minecraft:enchanted_book",
  "components": {
    "minecraft:stored_enchantments": {
      "levels": {
        "minecraft:protection": 1
      }
    }
  }
}

This outcome spawns an Enchanted Book with the Protection 1 Enchantment.

PreviousGroup OutcomeNextMessage Outcome

Last updated 7 months ago