MinecraftModDevelopmentMods / LeatherWorks

Leather processing and crafting. Need help with tile entity/packet stuff!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Using chisels and bits on debarked logs changes their orientation

stohun01 opened this issue · comments

Wood in the east-west direction is converted to up-down when chiseled. This issue doesn't seem to effect sealed barrels.
chiseled_logs

Submit this to https://github.com/AlgorithmX2/Chisels-and-Bits/issues because I can't see why that would happen

https://github.com/MinecraftModDevelopmentMods/LeatherWorks/blob/master/src/main/java/panda/leatherworks/common/block/BlockDebarkedLog.java#L62

I believe is the issue, getMetaFromState, and getStateFromMeta are not balanced, X converts to 0, but 0 is EnumAxis.Y. Y on the hand is missing from the switch ( and suppressed ) and also returns 0.

Thanks, AlgorithmX2. Fixed in 1.76.0+