Count

Returns item stack's count.

  • If normalize is true, the count is divided by the value of minecraft:max_stack_size and clamped in [0, 1].

  • If normalize is false, the count is clamped in [0, infinity[.

Inheritors

Constructors

Link copied to clipboard
constructor(normalize: Boolean)

Types

Link copied to clipboard