mojira.dev
MC-269684

Commands accepting stack sizes are restricted to a maximum of 64

Despite the new maximum stack size being 99 with the introduction of the minecraft:max_stack_size item stack component, several commands are arbitrarily restricted to the old maximum stack size of 64.

Affected commands include:

  • /item replace block <pos> <slot> with <item> <count>

  • /item replace entity <targets> <slot> with <item> <count>

I would expect these commands to use a maximum stack size specific to the item for stack sizes 65 through 99, as other instances already do. For example, attempting to replace a slot with a oak boat with count 2 produces the error 'minecraft:oak_boat can only stack up to 1'. Instead, the error 'Integer must not be more than 64, found 99' is produced.

Linked issues

Comments 0

No comments.

haykam

gegy

Confirmed

Platform

Important

Commands

24w12a, 24w13a

24w14a

Retrieved