minecraft:blockstate scripting component not working with integer-based states
Repro:
- Create a new world with the behaviour pack installed
- Place down a snow layer
- 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.
Created Issue:
minecraft:blockstate component not working with integer-based states
Repro:
- Create a new world with the behaviour pack installed
- Place down a snow layer
- 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.
This script functioned last in 1.12.0.28.
Repro:
- Create a new world with the behaviour pack installed
- Place down a snow layer
- 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.
minecraft:blockstate scripting component not working with integer-based states
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:
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
This bug is NOT fixed.
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