mojira.dev
MCPE-236301

Numeric custom block states not properly represented in command auto-completions

Auto-completions for numeric custom block states are incorrectly remapped to increment from 0 even if the state does not do such.

Demonstration

The attached image demonstrates this issue. The custom block being shown was given with the following state definition:

"bug_states:state": {"values": {"min": 1, "max": 3}}

Reproduction

This example is taken from the behavior pack in the attached world for convenience. This world can be opened (in Minecraft Preview) for inspection or unzipped to access the code associated with such.

Attachments

Comments 1

Thank you for helping us improve Minecraft! We saved your files:

[media][media]

Ciosciaa

(Unassigned)

Unconfirmed

Multiple

26.10.23 Preview

Retrieved