[1.15.2] Multiblock blockstate rotation broken
Minecraftschurli opened this issue · 1 comments
I have investigated that the Rotation of blockstates seems to be broken
Steps to reproduce:
- make a multiblock from code
PatchouliAPI.instance.registerMultiblock(new ResourceLocation(Patchouli.MOD_ID, "test_multiblock"),
PatchouliAPI.instance.makeMultiblock(new String[][]{
{
" ",
" L ",
" "
},
{
" E ",
"S0N",
" W "
}},
'L', PatchouliAPI.instance.stateMatcher(Blocks.LECTERN.getDefaultState().rotate(Rotation.CLOCKWISE_180)),
'N', PatchouliAPI.instance.stateMatcher(Blocks.SANDSTONE_STAIRS.getDefaultState().with(StairsBlock.FACING, Direction.NORTH)),
'E', PatchouliAPI.instance.stateMatcher(Blocks.SANDSTONE_STAIRS.getDefaultState().with(StairsBlock.FACING, Direction.EAST)),
'S', PatchouliAPI.instance.stateMatcher(Blocks.SANDSTONE_STAIRS.getDefaultState().with(StairsBlock.FACING, Direction.SOUTH)),
'W', PatchouliAPI.instance.stateMatcher(Blocks.SANDSTONE_STAIRS.getDefaultState().with(StairsBlock.FACING, Direction.WEST)),
'0', PatchouliAPI.instance.strictBlockMatcher(Blocks.SANDSTONE)
)
);
and it seems to be mirroring some things
because this multiblock:
{
" CEC ",
" SMN ",
" SAN ",
" SMN ",
" CWC "
}, {
" MZM ",
" I I ",
" ",
" Y Y ",
" MZM "
}, {
" MZM ",
" ",
" ",
" ",
" MZMV"
}, {
" MZML",
" ",
" 0 ",
" ",
" MZM "
}, {
"MMMMM",
"MMMMM",
"MMCMM",
"MMMMM",
"MMMMM"
}