Vec Provider Index
Type
Description
Example
lucky:constant
Specifies a constant vector 3d
"pos": [0, 0, 0]
lucky:heightmap
Specifies a block position at the y value based on the provided heightmap type
"pos": {
"center": [0, 0, 0],
"heightmap": "OCEAN_FLOOR"
}
lucky:random
Specifies a random position
"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
}
]
lucky:random_in_shape
Specifies a random position in the shape provided
"pos": {
"type": "lucky:random_in_shape",
"center": [0, 0, 0],
"shape": {
"type": "lucky:cube",
"size": [3, 3, 3]
}
}
lucky:random_velocity
Specifies a random velocity
"Motion": {
"type": "lucky:random_velocity",
"power": 0.9,
"pitch": 15
}
Last updated