Closed LuciaDX closed 1 year ago
+1 for 1.20 PM5
Any solution found for this problem! Really urgent and it’s a really BIG problem.
Could you try changing this line to use "states" rather than "properties"?
- ->setTag("properties", new ListTag(array_reverse($blockProperties))); // fix client-side order
+ ->setTag("states", new ListTag(array_reverse($blockProperties))); // fix client-side order
https://github.com/CustomiesDevs/Customies/blob/master/src/block/CustomiesBlockFactory.php#L130
i have looking this in the bedrock.dev : https://wiki.bedrock.dev/blocks/rotatable-blocks.html#facing-rotation-setup
"permutations": [
{
"condition": "query.block_property('wiki:rotation') == 0",
"components": {
"minecraft:transformation": { "rotation": [0, 0, 0] }
}
},
{
"condition": "query.block_property('wiki:rotation') == 1",
"components": {
"minecraft:transformation": { "rotation": [90, 0, 0] }
}
},
{
"condition": "query.block_property('wiki:rotation') == 2",
"components": {
"minecraft:transformation": { "rotation": [0, 0, 90] }
}
}
Could you try changing this line to use "states" rather than "properties"?
- ->setTag("properties", new ListTag(array_reverse($blockProperties))); // fix client-side order + ->setTag("states", new ListTag(array_reverse($blockProperties))); // fix client-side order
https://github.com/CustomiesDevs/Customies/blob/master/src/block/CustomiesBlockFactory.php#L130
This is the result
This should be fixed by https://github.com/CustomiesDevs/Customies/pull/79, if anyone can test this it would be very appreciated
This should be fixed by #79, if anyone can test this it would be very appreciated
Now every block that has trait just went invisible
Yeah issue not resolved.
Everything was working fine in 1.2.0 under pm4 but now these blocks dont rotate