Hmm you're right.. Thx for that. I was able to fix my problem, by changing:
case "cherry":
this.setDefaultState(this.blockState.getBaseState().withProperty(TYPE, WoodType.CHERRY).withProperty(BlockLog.LOG_AXIS, BlockLog.EnumAxis.Y));
case "banana":
this.setDefaultState(this.blockState.getBaseState().withProperty(TYPE, WoodType.BANANA));
}
to:
case "cherry":
this.setDefaultState(this.blockState.getBaseState().withProperty(TYPE, WoodType.CHERRY).withProperty(BlockLog.LOG_AXIS, BlockLog.EnumAxis.Y));
break;
case "banana":
this.setDefaultState(this.blockState.getBaseState().withProperty(TYPE, WoodType.BANANA));
}
I don't really understand why it fixed the problem, but it works now.