mojira.dev
MCPE-62861

The Scripting API can't apply direction-related blockstate component to blocks.

The scripting API can get the blockstate component from a certain block, including direction. But it can't apply it. Instead, this would be logged:

ScriptBlockStateComponent | Invalid type passed for block state 'weirdo_direction'

or:

ScriptBlockStateComponent | Invalid type passed for block state 'facing_direction'

Attachments

Comments 13

Applying component changes to minecraft block states seems to work with string based components but always changes blockstates of number values (e.g. "facing_direction") to 0 no matter what you replace them with.

Applying component changes to minecraft block states seems to work with string based components but always changes blockstates of number values (e.g. "facing_direction") to 0 no matter what you replace them with.

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?
Closing as awaiting response, it is only temporary till you reply. It will then automatically reopen.

Is this still an issue in the latest version? If so, can you add it to the affected versions?
Closing as awaiting response, it is only temporary till you reply. It will then automatically reopen.

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

dzx

(Unassigned)

Unconfirmed

Windows

scripting-api

1.14.20 Hotfix

Retrieved