Edit

DebugCone Class

Extends

A debug shape class that represents a cone.

Properties

height

height: number;

The height of the cone.

Type: number

numSegments

numSegments: number;

The number of segments used to approximate the circular base of the cone. Bounds: [3, 128]

Type: number

Notes:

  • This property has a bounds of [3, 128]

radii

radii: minecraftserver.Vector2;

The radii of the cone's circular base (x: bottom radius, y: top radius).

Type: @minecraft/server.Vector2

Methods

constructor

new DebugCone(location: minecraftserver.DimensionLocation | minecraftserver.Vector3)

Parameters

Returns DebugCone