mojira.dev
MCPE-49532

minecraft:blockstate scripting component not working with integer-based states

Repro:

  1. Create a new world with the behaviour pack installed

  2. Place down a snow layer

  3. Right click the snow layer

There will be an error along the lines of: 

[Scripting][error]-ScriptBlockStateComponent | Invalid type passed for block state 'height'

The script is simply increasing the height of the snow layer to values defined in the docs, but results with this error.

What should happen is that the snow layer height will increase and reset, as per the code in the server script. Other blockstates (string based etc.) seem to work fine.

This script functioned last in 1.12.0.28.

Attachments

Comments 13

I'm seeing this in 1.13.0.17 as well.

I'm seeing this in 1.13.0.17 as well.

Thank you for your report!
However, this issue has been temporarily resolved as Awaiting Response

Is this still an issue in the latest version?

If it is, please be sure to include steps to reproduce the problem:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

If your ticket does not look like the example given here, then it's likely to be closed as incomplete.

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Thank you for your report!
However, this issue has been temporarily resolved as Awaiting Response

Is this still an issue in the latest version?

If it is, please be sure to include steps to reproduce the problem:

Steps to Reproduce:
1.
2.
3.

Observed Results:
(Briefly describe what happens)

Expected Results:
(Briefly describe what should happen)

If your ticket does not look like the example given here, then it's likely to be closed as incomplete.

This ticket will automatically reopen when you reply.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

3 more comments

Steps to Reproduce:

  1. Create a new world with the behaviour pack installed

  2. Place down a dark oak stair

[media]

Observed Results:
The stair is not rotated, and an error is reported.

Expected Results:
The stair is rotated.

Is this still an issue in the latest version? If so, can you add it to the affected versions?
The bug will reopen when you reply.

Is this still an issue in the latest version? If so, can you add it to the affected versions?
The bug will reopen when you reply.

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

Cleaning up old tickets: This ticket had been set to 'Awaiting Response', but has not received a response from the reporter (~3 months+) so is being closed as Incomplete. If you feel this is still a valid issue then please comment, or create a new ticket following the Issue Guidelines which includes steps to reproduce the problem.

Quick Links:
📓 Issue Guidelines – 💬 Mojang Support – 📧 Suggestions – 📖 Minecraft Wiki

destruc7i0n

(Unassigned)

Unconfirmed

Windows

Windows 10

scripting-api

1.13.0.2 Beta

Retrieved