minecraft:random_offset

This component defines a random offset for the block, seeded based on the block's position and the specified range and steps. It affects the block's rendered position, outline, and collision.
If the random offset causes the collision box to extend beyond the bounds of a cube, the offset range will automatically adjust to keep the collision box within the cube.
Culling for this block is performed without considering the random offset.

Properties

PropertyTypeDefaultWhat it does
xObject{"range": {"max": 0, "min": 0}, "steps": 0}
range requiredObject—The range of the random offset.
minDecimal0
maxDecimal0
stepsIntegermin 00The number of steps between the range. Specify 0 for all possible values between the range.
yObject{"range": {"max": 0, "min": 0}, "steps": 0}
range requiredObject—The range of the random offset.
minDecimal0
maxDecimal0
stepsIntegermin 00The number of steps between the range. Specify 0 for all possible values between the range.
zObject{"range": {"max": 0, "min": 0}, "steps": 0}
range requiredObject—The range of the random offset.
minDecimal0
maxDecimal0
stepsIntegermin 00The number of steps between the range. Specify 0 for all possible values between the range.

Used by

No vanilla block file in the official samples uses this component. It is still part of the schema, so add-ons can use it.

Related components