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. Vec Providers

Vec Provider Index

PreviousVec ProvidersNextShapes

Last updated 7 months ago

Type
Description
Example

lucky:constant

Specifies a constant vector 3d

lucky:heightmap

Specifies a block position at the y value based on the provided heightmap type

lucky:random

Specifies a random position

lucky:random_in_shape

Specifies a random position in the shape provided

lucky:random_velocity

Specifies a random velocity

"pos": [0, 0, 0]
"pos": {
  "center": [0, 0, 0],
  "heightmap": "OCEAN_FLOOR"
}
"pos": [
  {
    "type": "minecraft:uniform",
    "min_inclusive": 0.0,
    "max_exclusive": 1.0
  },
  0.0,
  {
    "type": "minecraft:uniform",
    "min_inclusive": 0.0,
    "max_exclusive": 1.0
  }
]
"pos": {
  "type": "lucky:random_in_shape",
  "center": [0, 0, 0],
  "shape": {
    "type": "lucky:cube",
    "size": [3, 3, 3]
  }
}
"Motion": {
  "type": "lucky:random_velocity",
  "power": 0.9,
  "pitch": 15
}