Skip to content

@minecraft/server


@minecraft/server / GetBlocksStandingOnOptions

Interface: GetBlocksStandingOnOptions ​

Defined in: @minecraft/server/index.d.ts:23938

Contains additional options for getBlockStandingOn and getAllBlocksStandingOn.

Properties ​

blockFilter? ​

optional blockFilter?: BlockFilter

Defined in: @minecraft/server/index.d.ts:23945

Remarks ​

When specified, the function will include / exclude what block(s) are returned based on the block filter.


ignoreThinBlocks? ​

optional ignoreThinBlocks?: boolean

Defined in: @minecraft/server/index.d.ts:23953

Remarks ​

If true, all blocks of height 0.2 or lower like trapdoors and carpets will be ignored, and the block underneath will be returned.