You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I believe that replacing lines 97 and 116 of /content/buffer/headstock/CopycatHeadstockBlock.java from BlockState toState = reader.getBlockState(toPos);
to BlockState toState = reader.getBlockState(toPos).setValue(STYLE, state.getValue(STYLE));
would fix it.
As you could probably tell, it would make the methods isIgnoredConnectivitySide and canConnectTexturesToward pretend that the secondary headstock blockstate had the same STYLE value as the origin headstock blockstate.
Perhaps setting both state and toState's STYLE value to the same thing would to the same, and would reduce the amount of world accesses. Whatever you see to be most prudent, just my afterthought.
I don't care about credit, so if you think it would improve the mod at all, just chuck in the code.
Cheers!
Screenshots and Videos
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered:
Describe the Suggestion
I believe that replacing lines
97
and116
of /content/buffer/headstock/CopycatHeadstockBlock.java fromBlockState toState = reader.getBlockState(toPos);
to
BlockState toState = reader.getBlockState(toPos).setValue(STYLE, state.getValue(STYLE));
would fix it.
As you could probably tell, it would make the methods
isIgnoredConnectivitySide
andcanConnectTexturesToward
pretend that the secondary headstock blockstate had the sameSTYLE
value as the origin headstock blockstate.Perhaps setting both
state
andtoState
'sSTYLE
value to the same thing would to the same, and would reduce the amount of world accesses. Whatever you see to be most prudent, just my afterthought.I don't care about credit, so if you think it would improve the mod at all, just chuck in the code.
Cheers!
Screenshots and Videos
No response
Additional Context
No response
The text was updated successfully, but these errors were encountered: