So, Im making a block that is a 4x4x4 cube that can be placed in 9 positions, and when interacted with, extends a side of it by adding on a 6x4x4 portion of the block onto the face you tapped. The issue is that to implement this functionality, the state limit is getting pushed up on, heavily. But; 1, idk why and 2; how I should fix it
"states": {
"cmd:relative_cube_position": [
"top_left",
"top_middle",
"top_right",
"middle_left",
"middle",
"middle_right",
"bottom_left",
"bottom_middle",
"bottom_right",
"dead_center"
],
"cmd:up_bit": [
0,
1,
2
],
"cmd:down_bit": [
0,
1,
2
],
"cmd:west_bit": [
0,
1,
2
],
"cmd:east_bit": [
0,
1,
2
],
"cmd:north_bit": [
0,
1,
2
],
"cmd:south_bit": [
0,
1,
2
]
}
There is also a "minecraft:block_face" component at play, just so that is known.
Multiplying all of these up, you'd get 10 * 3^6 = 7,290, which is nowhere near 2^16, factoring in the "minecraft:block_face" another x6 you'd get 43,740. Aka still not 2^16.
Now telling what all these states actually do, "cmd:relative cube position" and "minecraft:cube_position" are the ones that affect where the original 4x4 cube is placed, and there are 27 different cubes, I can send the models if need be. The "cmd:east_bit" and all the others affect how the bones connected to the cubes are shown, if its 0, its inactive, if its 1 one of the auxiliary bones are shown, if its 2 both of the auxiliary bones for that face, for that cube are shown. each of the 27 cubes have their own 6 auxiliary bones spread across each available face.
continued in comments